Skip to main content
Get the current status of a sandbox background command

Tool details

FieldValue
Nameget_sandbox_background_command
GroupSandbox

Playground

Input schema

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

Output schema

Output schema
{
  "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": "Structured result returned by the get_sandbox_background_command tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}