# List sandbox background commands

Tool: `veryfront__list_sandbox_background_commands`

List background commands. Requires project.sandboxes.manage.

## Arguments

| Name         | Type                                   | Required | Description                                                                |
| ------------ | -------------------------------------- | -------- | -------------------------------------------------------------------------- |
| `sandbox_id` | string · uuid                          | Yes      | Sandbox UUID, as returned by createSandbox.                                |
| `cursor`     | string                                 |          | Opaque cursor pointing at the next page. Omit it to read the first page.   |
| `limit`      | integer · min 1 · max 100 · default 20 |          | Maximum number of commands 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_background_commands",
    "arguments": {
      "sandbox_id": "00000000-0000-0000-0000-000000000000"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"command_id\":\"string\",\"command\":\"string\",\"signal\":\"string\",\"heartbeat_status\":\"disabled\",\"last_heartbeat_at\":\"string\",\"last_heartbeat_error\":\"string\",\"heartbeat_failure_count\":0,\"status\":\"pending\",\"exit_code\":0,\"started_at\":\"string\",\"finished_at\":\"string\"}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "command_id": "string",
          "command": "string",
          "signal": "string",
          "heartbeat_status": "disabled",
          "last_heartbeat_at": "string",
          "last_heartbeat_error": "string",
          "heartbeat_failure_count": 0,
          "status": "pending",
          "exit_code": 0,
          "started_at": "string",
          "finished_at": "string"
        }
      ],
      "page_info": {
        "self": "string",
        "first": null,
        "next": "string",
        "prev": "string"
      }
    }
  }
}
```
