Cancel a batch
cancel_batchStop a running batch: the task running now is cancelled and the tasks not started yet are skipped (never run, never charged). Tasks that already ended keep their results and cost.
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": {
"id": "<id>"
},
"name": "cancel_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The batch (bat_…). |