cancel_dispatch
Stop an active background dispatch by setting a cancel flag and terminating its subprocess, finalizing status as cancelled. No effect if already completed.
Instructions
Abort a running background dispatch. No-op if already finished.
Sets a cancel flag so _run_bg stops before the next fallback
attempt, then terminates the current subprocess. The background
thread finalizes the status to "cancelled".
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": {
"dispatch_id": "<dispatch_id>"
},
"name": "cancel_dispatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dispatch_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||