tnd_cancel_batch
Request cancellation of a specific download batch to stop later groups; optionally cancel the current task after worker verification. A canceling status does not confirm the batch has stopped.
Instructions
持久化请求取消指定批次,立即停止后续分组;cancel_current默认false,当前任务自然完成后取消批次,true则由worker核对身份后发送取消信号。返回canceling不代表已停止。
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": {
"batch_id": "<batch_id>"
},
"name": "tnd_cancel_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | 必填,必须与当前批次一致,防止操作错批次 | |
| cancel_current | No |