zotero_advanced_search
Filter Zotero items using multiple structured conditions with AND/OR logic. Search by date ranges, item types, creators, and more.
Instructions
Advanced item search with multiple structured-field conditions joined by AND or OR. Use this when you need to filter by fields that zotero_search_items and zotero_search_by_tag can't express (date ranges, specific itemTypes, etc.). For plain text use zotero_search_items; for tags use zotero_search_by_tag; for topic discovery use zotero_semantic_search. conditions: list of {field, operation, value} dicts (also accepts a JSON string). Common fields: title, creator, date, dateAdded, dateModified, tag, itemType, publicationTitle, abstractNote, collection. Supported operations (exhaustive): is, isNot, contains, doesNotContain, beginsWith, endsWith, isGreaterThan, isLessThan, isBefore, isAfter. For 'added in the last N days', use field='dateAdded' with operation='isAfter' and an ISO date value (e.g. '2026-03-22'). join_mode: 'all' (AND, default) or 'any' (OR). sort_by: dateAdded, dateModified, title, creator, etc. sort_direction: 'asc' (default) or 'desc'. limit: max results (default 50, max 500). Example: zotero_advanced_search(conditions=[{'field': 'itemType', 'operation': 'is', 'value': 'preprint'}, {'field': 'dateAdded', 'operation': 'isAfter', 'value': '2026-03-22'}], join_mode='all').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conditions | Yes | List of search condition dictionaries, each containing: - field: The field to search (title, creator, date, tag, etc.) - operation: The operation to perform (is, isNot, contains, etc.) - value: The value to search for | |
| join_mode | No | Whether all conditions must match ("all") or any condition can match ("any") | all |
| sort_by | No | Field to sort by (dateAdded, dateModified, title, creator, etc.) | |
| sort_direction | No | Direction to sort (asc or desc) | asc |
| limit | No | Maximum number of results to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |