Delete an upload
delete_uploadDelete one of your YourImageShare uploads by id - the file and its links stop working immediately. Get the id from upload_image's response or from list_uploads. Errors (not found, wrong owner) come back as a normal tool error.
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": {
"id": "<id>"
},
"name": "delete_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The upload id to delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| deleted | Yes |