cancel_task
Cancel a task and any pending offer. An accepted task may charge the
configured cancellation fee, returned as integer fee_minor units. A step
of a task chain is not cancelled here (409); use end_task_chain.
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": {
"task_id": "<task_id>"
},
"name": "cancel_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why you are cancelling. Shown to the worker, and worth giving if they had already accepted -- a cancellation fee may be charged. | |
| task_id | Yes | The task to cancel, along with any offer still pending on it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| task_id | No | ||
| fee_minor | No | ||
| was_accepted | No |