Search Zotero Items
zotero_search_itemsSearch a Zotero library for bibliographic items such as articles, books, and webpages by title, creator, or year. Filter results by item type, tag, or collection to quickly find relevant references.
Instructions
Search for bibliographic items (articles, books, webpages, etc.) in a Zotero library.
This is a READ-ONLY quick search. It matches titles and creator names by default (query_mode='titleCreatorYear'); pass query_mode='everything' to also search full text of PDF attachments. Combine with item_type and/or tag filters to narrow results, and collection_key to search inside one collection only.
Args:
query (string, optional): Quick-search text
query_mode ('titleCreatorYear' | 'everything'): search scope (default: 'titleCreatorYear')
item_type (string, optional): Zotero item type filter, supports '||' (OR) and leading '-' (NOT)
tag (string, optional): tag filter, supports the same boolean syntax
collection_key (string, optional): restrict to one collection
include_trashed (boolean): include trashed items (default: false)
limit (number): 1-100 (default: 25)
offset (number): pagination offset (default: 0)
response_format ('markdown' | 'json')
Returns: matching items with type, creators, year, title, DOI/URL, tags, and a trimmed abstract.
Examples:
Use when: "find items about resistencia cotidiana in my library" -> query="resistencia cotidiana"
Use when: "list all journal articles tagged putumayo" -> item_type="journalArticle", tag="putumayo"
Don't use when: you need items from a specific known key (use zotero_get_item instead)
Error Handling:
Returns "Error: Permission denied (403)" if the API key lacks access to this library
Returns "No items found matching the given criteria" if the search is empty
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag using Zotero's boolean search syntax, e.g. 'putumayo', 'putumayo && resistencia' (space = AND within one param, or repeat the param for AND). | |
| limit | No | Maximum number of results to return, 1-100 (default: 25). | |
| query | No | Quick-search text, matched against titles and creator names by default (Zotero 'q' parameter). | |
| offset | No | Number of results to skip, for pagination (default: 0). | |
| item_type | No | Filter by item type using Zotero's boolean search syntax, e.g. 'book', 'journalArticle', 'book || journalArticle' (OR), '-attachment' (NOT). | |
| query_mode | No | 'titleCreatorYear' (default) searches titles/creators/year only; 'everything' also searches full text of attachments. | titleCreatorYear |
| collection_key | No | Restrict the search to items within this collection (8-character Zotero collection key). Omit to search the whole library. | |
| include_trashed | No | Include items in the trash (default: false). | |
| response_format | No | Output format: 'markdown' for human-readable text or 'json' for machine-readable structured data. | markdown |