Cancel a durable task
durable_task_cancelCancel a running long-running task at its next checkpoint, ensuring clean cooperative termination without abrupt interruption.
Instructions
Cooperatively cancel a running task. The task stops at its next checkpoint.
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": "durable_task_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes |