stop_run
Request that an existing run stop. Returns its observed status and stopResult (submitted, rejected, unconfirmed, or alreadyTerminal). Use get_run to verify whether the run stopped. Unknown is terminal. Verify what happened before deciding whether to run again, and never auto-retry unknown or RESULT_UNKNOWN. Errors can include NOT_FOUND, BUSY (retryable), SESSION_REQUIRED, or UNAUTHORIZED.
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>"
},
"name": "stop_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The id returned by run_automation. |