Cancel task
task_cancelCancels a pending task before it executes. Provide the task ID to stop execution.
Instructions
Cancel a task that has not yet executed.
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": {
"taskId": "<taskId>"
},
"name": "task_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | the task id |