search_library
Search your Zotero library for references using queries, filters, and Boolean logic to find specific items.
Instructions
Search the Zotero library for an item.
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": {
"query": "<query>"
},
"name": "search_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| qmode | No | Use all field and full text search (`everything`), or only Title, Creator and Year search (`titleCreatorYear`) | titleCreatorYear |
| itemType | No | itemType supports Boolean searches. E.g. the following examples are possible to limit or choose the item Type. - itemType: book - itemType: book || journalArticle (OR) - itemType: -attachment (NOT) Default choice is to exclude attachements | -attachment |
| tag | No | tag supports Boolean searches. E.g. the following examples are possible to limit or choose the item Type. - tag: foo - tag: foo bar (tag with space) - tag: foo&tag=bar (AND) - tag: foo bar || bar (OR) - tag: -foo (NOT) - tag: \-foo (literal first-character hyphen) Default choice is empty. | |
| include_abstract | No | Should search results include the abstract? | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |