Cancel an external worker
meah_cancel_agentAbort a queued or running worker to halt its provider request and child processes, moving it to cancelled state. Optionally clean up its workspace.
Instructions
Abort a queued or running worker: the provider request and any child process are aborted and the worker moves to state "cancelled". Optionally removes its workspace.
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": {
"workerId": "<workerId>"
},
"name": "meah_cancel_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| workerId | Yes | ||
| cleanupWorkspace | No |