Skip to main content
List all background commands in a sandbox session. Returns commands from the data plane.

Tool details

FieldValue
Namelist_sandbox_background_commands
GroupSandbox

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Sandbox session ID returned by create_sandbox_session"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the list_sandbox_background_commands tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "commands": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "command_id": {
            "type": "string",
            "description": "The command id associated with this tool result."
          },
          "status": {
            "type": "string",
            "description": "Lifecycle status for the returned record."
          },
          "exit_code": {
            "anyOf": [
              {
                "type": "integer",
                "description": "The exit code associated with this tool result."
              },
              {
                "type": "null",
                "description": "The exit code returned by the tool."
              }
            ],
            "description": "The exit code associated with this tool result."
          }
        },
        "required": [
          "command_id",
          "status"
        ],
        "additionalProperties": true,
        "description": "One command item associated with this tool result."
      },
      "description": "List of commands associated with this tool result."
    }
  },
  "required": [
    "commands"
  ],
  "additionalProperties": true,
  "description": "Structured result returned by the list_sandbox_background_commands tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}