Search items
zotero_search_itemsSearch your local Zotero library by title, creator, year, or full text, and filter by collection, item type, or tag to quickly find the right reference.
Instructions
Search the local Zotero library. q runs Zotero's quicksearch: qmode "titleCreatorYear" (default) matches titles, creators and years, while "everything" also matches attachment full text and notes. Filters combine: pass collectionKey to search inside one collection, itemType to restrict by type ("-attachment" excludes a type), tag to filter by tag. Omit q to browse. Returns flattened item metadata; use zotero_get_item for one item in full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search text. Omit to list items without filtering by text. | |
| tag | No | Tag filter. Supports "tag1 || tag2" for OR and a leading "-" to exclude. | |
| sort | No | Sort field. | dateModified |
| limit | No | Maximum number of objects to return (1-500). | |
| qmode | No | "titleCreatorYear" searches metadata only; "everything" also searches full text and notes (slower). | titleCreatorYear |
| since | No | Return only objects modified after this library version, for incremental syncing. | |
| start | No | Zero-based offset for paging; pass the nextStart value from a previous call. | |
| 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. | |
| verbose | No | Return Zotero's raw API envelope (library block, self/alternate links, full meta) instead of the flattened object. Costs many extra tokens per object; only useful when a URL or the raw meta block is genuinely needed. | |
| itemType | No | Item type filter. Supports Zotero syntax: "book", "book || journalArticle", "-attachment". | |
| direction | No | Sort direction. | desc |
| topLevelOnly | No | Return only top-level items, hiding child notes and attachments. Set false to include children. | |
| collectionKey | No | Restrict the search to one collection. | |
| includeTrashed | No | Include items currently in the trash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| start | Yes | ||
| hasMore | Yes | ||
| returned | Yes | ||
| nextStart | Yes | ||
| totalResults | Yes |