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不代表已停止。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | 必填,必须与当前批次一致,防止操作错批次 | |
| cancel_current | No |