Confirm an upload
confirm_uploadUse after the file was sent to get_upload_url's address. Free. Returns a temporary url for the image: pass it in generate_image's image_urls. Uploads aren't kept: the file is deleted once a generation has used it (or after 24 h), and only results are saved to the library.
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 |
|---|---|---|---|
| upload_id | Yes |