Finish an upload
commit_uploadConfirm an upload once the bytes are sent. Use when the PUT to the address from start_upload succeeded. Before: start_upload, then the PUT of the bytes. Returns the stored file with its obj_ id. Scope: storage:write. Cost: stored bytes are billed from the prepaid balance (get_pricing).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "upl_0123456789abcdef0123456789abcdef"
},
"name": "commit_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Upload id from start_upload. |