script_status
Check a script's current execution status without blocking. Returns running, completed, failed, or cancelled state, step count, extracted data, and errors to monitor long-running scripts.
Instructions
Check the current execution status of a running or completed script without blocking. Returns the script's state (running, completed, failed, cancelled), current step count, extracted data so far, and any error message. Use to monitor long-running scripts between other actions; use wait_for_scripts to block until completion.
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": {
"script_id": "<script_id>"
},
"name": "script_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | Script ID returned by run_script (format: scr_XXXXXXXX). Obtain from the run_script response. |