get_collections
Lists all collections (folders) in a Zotero library, returning keys, names, and parent relationships so you can organize items or create nested collections.
Instructions
List all collections (folders) in your Zotero library. Returns collection keys, names, and parent relationships. Use collection keys with get_collection_items or as parent_collection in create_collection. Trashed collections are excluded by default.
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. | |
| include_trashed | No | Include trashed (deleted) collections. Default false. |