# List sandbox files

Tool: `veryfront__list_sandbox_files`

List sandbox files. Requires project.sandboxes.manage.

## Arguments

| Name         | Type                                   | Required | Description                                                               |
| ------------ | -------------------------------------- | -------- | ------------------------------------------------------------------------- |
| `sandbox_id` | string · uuid                          | Yes      | Sandbox UUID, as returned by createSandbox.                               |
| `path`       | string · min length 1                  | Yes      | Directory path inside the sandbox.                                        |
| `cursor`     | string                                 |          | Cursor from the previous page\_info.next. Omit it to read the first page. |
| `limit`      | integer · min 1 · max 100 · default 20 |          | Maximum entries to return. Defaults to 20 and is capped at 100.           |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_sandbox_files",
    "arguments": {
      "sandbox_id": "00000000-0000-0000-0000-000000000000",
      "path": "string"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"path\":\"string\",\"type\":\"file\",\"size_bytes\":0}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "path": "string",
          "type": "file",
          "size_bytes": 0
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      }
    }
  }
}
```
