cancel_task
Cancel a task using its ID, updating status to CANCELED and retrieving the revised task details.
Instructions
Cancel a task.
Changes status to CANCELED.
Args: task_id: ID of the task to cancel
Returns: Updated task data
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 |
|---|---|---|---|
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||