Cancel a batch
cancel_batchSkips the batch’s products that are not making images yet (free). Images already started finish, unless stop_images is true: then images no worker has started are cancelled and refunded. Example: {"batch_id": "…"}
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": "cancel_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | ||
| stop_images | No |