Delete items
zotero_delete_itemsDelete up to 50 Zotero items, sending them to trash for easy restoration or permanently erasing them when explicitly requested.
Instructions
Move up to 50 items to Zotero's trash, where the user can restore them from the Zotero window or with zotero_restore_items. This is the default and it is reversible. Trashed items keep their attachments and files; Zotero empties the trash automatically after 30 days by default. Pass permanent: true only when the user has explicitly asked for an irreversible delete: that erases the items outright, takes their child notes and attachments with them, removes attachment files from disk, and cannot be undone by anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | No | Group library ID. Omit for the personal library ("My Library"), which is what almost every request wants. Group IDs come from zotero_list_libraries. | |
| itemKeys | Yes | Keys of the items to remove, at most 50 per call. | |
| permanent | No | false (default) moves the items to the trash, which is reversible. true erases them immediately and irreversibly, deleting attachment files from disk. Only pass true on an explicit request from the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| erased | Yes | Items erased irreversibly. Empty when permanent is false. | |
| trashed | Yes | Items moved to the trash. Empty when permanent is true. | |
| notFound | Yes | ||
| permanent | Yes | ||
| alreadyInTrash | Yes | ||
| libraryVersion | Yes |