Delete a processed image batch
delete_batchUse this when the user wants to permanently delete one Imagelato processed-image batch and its associated files. Returns the deleted batch's id, slug and project. Its original, main output and every resized or converted file are erased and the batch.deleted webhook fires, with no undo. Not for removing a resize preset.
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": {
"batchId": "<batchId>"
},
"name": "delete_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes | Exact batch id to permanently delete; obtain it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch | Yes | ||
| status | Yes |