Get prompt run status
get_prompt_statusRetrieves the run status of a queued, running, or finished prompt, so clients can determine completion without inferring it from sandbox state or events.
Instructions
Get prompt run status. Returns first-class status for a queued/running/finished prompt so clients do not infer completion from sandbox state and events.
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": {
"sandboxId": "<sandboxId>",
"promptId": "<promptId>"
},
"name": "get_prompt_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promptId | Yes | ||
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. |