Zotero Advanced Search
zotero_advanced_searchSearch Zotero items by structured field conditions—date ranges, item types, tags, collections, and field matches—when simple keyword search cannot express the query.
Instructions
Search with structured field conditions, for what zotero_search_items cannot express: date ranges, item types, matches on one field. conditions: a list of {field, operation, value}. Fields include title, creator, date, dateAdded, dateModified, tag, itemType, publicationTitle, abstractNote, collection. Operations: is, isNot, contains, doesNotContain, beginsWith, endsWith, isGreaterThan, isLessThan, isBefore, isAfter. Dates are ISO; 'added in the last 30 days' is dateAdded isAfter . join_mode: 'all' (AND, default) or 'any' (OR). sort_by: a field such as dateAdded or title; sort_direction: 'asc' (default) or 'desc'. limit: default 50, max 500. include_subcollections=True makes collection is/isNot match the whole subtree. search_all_libraries=True searches every library (no collection conditions). Example: conditions=[{'field': 'itemType', 'operation': 'is', 'value': 'preprint'}, {'field': 'dateAdded', 'operation': 'isAfter', 'value': '2026-03-22'}].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"conditions": "<conditions>"
},
"name": "zotero_advanced_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sort_by | No | ||
| join_mode | No | all | |
| conditions | Yes | ||
| sort_direction | No | asc | |
| search_all_libraries | No | ||
| include_subcollections | No |