aiworkhub_agent_cancel_task
Cancels a launched worker request by terminating its recorded process group, ensuring the exact task is stopped and the cancellation reason is recorded.
Instructions
DUAL-GATED: terminate one exact process group recorded by this server.
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": {
"request_id": "<request_id>"
},
"name": "aiworkhub_agent_cancel_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason recorded for the cancellation; default owner_cancelled. | owner_cancelled |
| request_id | Yes | Id of the launched worker request whose recorded process group is terminated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||