Abort a pending upload
abort_uploadAbort a pending batch from start_upload or start_revision — nothing is published and the staged bytes are cleaned up. Use when an upload went wrong instead of leaving the batch to time out (15 minutes). Pass previewId for a preview batch.
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": "abort_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes | batchId from start_upload or start_revision | |
| previewId | No | Set when aborting a preview upload batch |