Delete a gallery item
delete_itemPermanently delete a finished, failed, or cancelled gallery item along with its image and video files. Cancel running jobs first, since the removal cannot be undone.
Instructions
Permanently deletes a finished, failed or cancelled gallery item together with its image and video files; this cannot be undone. Only call it when the user asks to delete that item. Running jobs must be cancelled first (cancel_job), and the reference sheet of a figure cannot be deleted while the figure exists.
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_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gallery id of the item to delete |