cancel_task
Cancel a task and its pending offer, subject to cancellation policy. Provide the task ID and optionally a reason.
Instructions
Cancel a task and any pending offer (subject to cancellation policy).
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 | ||
| task_id | Yes |