Cancel dossier image upload
cancel_dossier_image_uploadGive back a reserved image slot: deletes the object at that upload_id if it is there, and touches no record. For an upload that went wrong or was thought better of — without it a half-uploaded image would sit in storage attached to nothing, and nobody could tell it from one that is waiting to be finalized. Refuses an upload_id that has already been finalized: the file belongs to a real image in the Mappe then, and removing it would leave the record pointing at nothing. Use delete_dossier_image for that. Saying cancel twice is not an error — the second call reports that there was nothing left to give back.
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": "cancel_dossier_image_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upload_id | Yes | Exactly the upload_id from create_dossier_image_upload_url. |