Delete an upload
delete_uploadRemove one image from the user's Uploads library by id (from upload_image or list_uploads). Needs an API key with design:write. Saved designs keep their own copies, so this never breaks a design; it only frees a library slot. Prefer deleting images this session uploaded over ones the user added themselves.
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": {
"uploadId": "<uploadId>"
},
"name": "delete_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uploadId | Yes | The id (or upload:<id> ref) to remove |