Permanently delete Zotero items
zotero_delete_itemsPermanently delete Zotero items by key, bypassing trash. Requires explicit confirmation and server enablement to remove items irreversibly.
Instructions
PERMANENTLY and IRREVERSIBLY delete items by key (this purges them — it is NOT the trash). Prefer zotero_trash_items, which is reversible. This tool is disabled unless the server is started with ZOTEUS_ALLOW_DELETE=true, and additionally requires confirm: true on every call. For the personal library it goes through the running Zotero desktop app when that app supports local-API writes, otherwise the cloud Web API. The current library version is used as a precondition; the operation auto-chunks to 50 keys per request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to proceed with permanent deletion. | |
| item_keys | Yes | Item keys to permanently delete. | |
| library_id | No | Numeric id of the library to address, e.g. 5234875 for a group (zotero_groups lists the ids you can reach). Omit to use the configured default library; an id given without library_type is read as a group id. | |
| library_type | No | Which library to address: "user" (a personal library) or "group" (a shared group library). Omit to use the library this server is configured for. "group" on its own is refused: pass library_id with it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | How many were purged. | |
| target | No | Where the write went: "local" (Zotero desktop local API), "desktop" (connector protocol) or "cloud" (Zotero Web API). | |
| deleted | Yes | Keys purged from the library; this is not the trash and cannot be undone. |