Delete library item
delete_library_itemPermanently deletes one item from the creator's library by its id. This cannot be undone. Use it for saved items; for unsaved drafts use discard_draft. Returns the deleted id. Uses no credits.
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_library_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The library item id from list_library. |