Get Run Status
get_run_statusPoll the status of a script run after run_script to check if execution completed, is still running, or failed.
Instructions
Check the status of a script run.
Poll this after run_script to check if execution has completed. Status values: RUNNING, SUCCEEDED, FAILED.
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": {
"run_id": "<run_id>",
"workspace_name": "<workspace_name>"
},
"name": "get_run_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run ID returned by run_script. | |
| workspace_name | Yes | The workspace the run belongs to (e.g. 't-oncall'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |