Finish file upload
confirm_uploadmark an uploaded file as complete after PUTting its bytes. always call this after uploading to a file_id slot - without it the file shows as not_uploaded.
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": {
"file_id": "<file_id>"
},
"name": "confirm_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | No | sha256 hex of the uploaded bytes (optional, enables dedup and integrity) | |
| file_id | Yes | the file_id returned by request_upload_url |