Skip to main content
Execute a command in a sandbox and wait for the result. Use for short-lived commands (up to 60 s).

Tool details

FieldValue
Nameexecute_sandbox_command
GroupSandbox

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Sandbox session ID"
    },
    "command": {
      "type": "string",
      "description": "Shell command to execute"
    },
    "cwd": {
      "type": "string",
      "description": "Working directory for the command"
    },
    "timeout_seconds": {
      "type": "number",
      "description": "Timeout in seconds for the command"
    },
    "env": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "description": "Additional structured values supplied to the tool."
      },
      "description": "Additional environment variables for the command"
    }
  },
  "required": [
    "id",
    "command"
  ],
  "additionalProperties": false,
  "description": "Input schema for the execute_sandbox_command tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

This tool does not publish an output schema.