Finalize an upload batch
finalize_uploadFinish a start_upload or start_revision batch after every file has been PUT. Verifies each declared file landed at its exact size; failures list what is missing or mismatched, and a rejected batch must be started again.
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": "finalize_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Pass the same siteId when the batch came from start_revision | |
| batchId | Yes | batchId from start_upload or start_revision |