List sandbox background commands

veryfront__list_sandbox_background_commands

Requires project.sandboxes.manage.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
sandbox_idstringYesSandbox UUID, as returned by createSandbox. Format: uuid.
cursorstringNoOpaque cursor pointing at the next page. Omit it to read the first page.
limitintegerNoMaximum number of commands to return. Defaults to 20 and is capped at 100. Default: 20. Minimum: 1. Maximum: 100.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_sandbox_background_commands",
    "arguments": {
      "sandbox_id": "00000000-0000-4000-8000-000000000000"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
dataobject[]YesPrimary result records returned by the tool.
page_infoobjectYesPagination cursor values for traversing the result set.

Full schemas

json
{
  "type": "object",
  "properties": {
    "sandbox_id": {
      "type": "string",
      "format": "uuid",
      "description": "Sandbox UUID, as returned by createSandbox."
    },
    "cursor": {
      "type": "string",
      "description": "Opaque cursor pointing at the next page. Omit it to read the first page."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Maximum number of commands to return. Defaults to 20 and is capped at 100.",
      "default": 20
    }
  },
  "required": [
    "sandbox_id"
  ],
  "additionalProperties": false,
  "description": "Arguments for the list_sandbox_background_commands tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "command_id": {
            "type": "string"
          },
          "command": {
            "type": "string"
          },
          "signal": {
            "type": [
              "string",
              "null"
            ]
          },
          "heartbeat_status": {
            "type": "string",
            "enum": [
              "disabled",
              "healthy",
              "degraded"
            ]
          },
          "last_heartbeat_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_heartbeat_error": {
            "type": [
              "string",
              "null"
            ]
          },
          "heartbeat_failure_count": {
            "type": "integer",
            "minimum": 0
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "running",
              "completed",
              "failed",
              "canceled"
            ],
            "description": "Lifecycle status for the returned record."
          },
          "exit_code": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null",
                "description": "The exit code returned by the tool."
              }
            ]
          },
          "started_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "finished_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "command_id",
          "command",
          "signal",
          "heartbeat_status",
          "last_heartbeat_at",
          "last_heartbeat_error",
          "heartbeat_failure_count",
          "status",
          "exit_code",
          "started_at",
          "finished_at"
        ],
        "additionalProperties": false
      },
      "description": "Primary result records returned by the tool."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that refers to the current page."
        },
        "first": {
          "type": "null"
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page when pagination is available."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page when pagination is available."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    }
  },
  "required": [
    "data",
    "page_info"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_sandbox_background_commands tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}