Get Background Command Status
sandbox_get_command_statusCheck whether a background command is still running in a sandbox and return its running state, exit code, and timing.
Instructions
Check whether a background command is still running. Returns running, exit_code, and timing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sandbox_id": "<sandbox_id>",
"command_id": "<command_id>"
},
"name": "sandbox_get_command_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_id | Yes | command_id returned by sandbox_run_command | |
| sandbox_id | Yes | ID of the target sandbox |