List Zotero Collections
zotero_list_collectionsList Zotero collections and subcollections with names, parent keys, and item counts. Filter to top-level or a specific parent collection.
Instructions
List the collections (folders) in a Zotero library, optionally scoped to one parent collection.
Args:
top_level_only (boolean): only top-level collections (default: false)
parent_collection_key (string, optional): list subcollections of this collection instead of the whole library
limit (number): 1-100 (default: 25)
offset (number): pagination offset (default: 0)
response_format ('markdown' | 'json')
Returns: collections with their key, name, parent, and item count.
Examples:
Use when: "what collections do I have?" -> top_level_only=true
Use when: "list the subfolders inside my 'Putumayo' collection" -> parent_collection_key=
Don't use when: you want the items inside a collection (use zotero_search_items with collection_key instead)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return, 1-100 (default: 25). | |
| offset | No | Number of results to skip, for pagination (default: 0). | |
| top_level_only | No | If true, return only top-level collections (exclude subcollections) (default: false). | |
| response_format | No | Output format: 'markdown' for human-readable text or 'json' for machine-readable structured data. | markdown |
| parent_collection_key | No | If set, list only the subcollections of this collection key instead of the whole library. |