delete_collection
Delete a Zotero collection (folder) after user confirmation; items inside remain in the library. Requires UNSAFE_OPERATIONS enabled.
Instructions
Delete a collection (folder) from your Zotero library; confirm with the user first. Items inside the collection are NOT deleted — they remain in your library. Disabled unless the server setting UNSAFE_OPERATIONS is 'all'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library_id | No | Numeric user or group ID for this call (a group's ID is the number in its zotero.org/groups/<id> URL). Default: the configured library. Required with library_type 'group' when the server is configured for a user library. | |
| library_type | No | Library for this call: 'user' (personal) or 'group'. Default: the library configured on the server. | |
| collection_key | Yes | Zotero collection key to delete. Get this from get_collections. |