confirm_upload
Finalizes a presigned upload once its bytes are in storage and returns the asset. If a conflict error occurs, retry this call, not the PUT.
Instructions
Finalises a presigned upload once its bytes are in storage; returns the asset.
A conflict error means the bytes haven't landed yet: retry this call, not the PUT.
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": {
"upload_id": "<upload_id>"
},
"name": "confirm_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transform | No | Transform to apply. On upload it runs before storage. | |
| upload_id | Yes | The `id` create_upload_url returned. | |
| preset_key | No | Key of a saved preset to apply instead of 'transform'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||