Delete library item
delete_gallery_itemPermanently delete one item from the user's library by id (from list_gallery); there is no restore. It also leaves the community feed and any artist page it was on. For a file the user uploaded, the file itself is deleted and its storage freed. Returns { storageFreedBytes, artistProjectRemoved }; 404 when the id is not the caller's. Use share_gallery_item instead to only unshare an item.
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>",
"context": "<context>"
},
"name": "delete_gallery_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id from list_gallery. | |
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |