Finalize dossier image upload
finalize_dossier_image_uploadConfirm an image upload and put it into the Mappe: checks the object is really there, reads its size, reads the FORMAT OUT OF THE BYTES rather than trusting what was declared, and creates the image record. Returns the same Markdown reference that upload_dossier_image returns, ready to paste into a document. Refuses an upload_id that does not belong to this tenant, refuses anything that is not PNG, JPEG, GIF, WebP or AVIF — never SVG, which can carry script — and refuses a file over 10 MB; in each of those cases the uploaded object is removed again rather than left lying around. The image is marked origin_kind=upload and NOT origin_is_ai, so nobody has to guess later whether a screen in the offer was drawn by a model.
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": "finalize_dossier_image_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt_text | No | What the image shows. Used when the Markdown reference brings no alt text of its own. | |
| filename | No | Overrides the name given when the slot was reserved. | |
| upload_id | Yes | Exactly the upload_id from create_dossier_image_upload_url. |