Tool details
| Field | Value |
|---|---|
| Name | execute_sandbox_command |
| Group | Sandbox |
Playground
Input schema
Input schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Sandbox session ID returned by create_sandbox_session"
},
"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
Output schema
{
"type": "object",
"properties": {
"stdout": {
"type": "string",
"description": "The stdout associated with this tool result."
},
"stderr": {
"type": "string",
"description": "The stderr associated with this tool result."
},
"exit_code": {
"type": "integer",
"description": "The exit code associated with this tool result."
}
},
"required": [
"stdout",
"stderr",
"exit_code"
],
"additionalProperties": true,
"description": "Structured result returned by the execute_sandbox_command tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}