search_passages
Search PDF passages in your local Zotero library using natural-language queries and return citable snippets with item keys and page numbers.
Instructions
Search PDF passages for the natural-language query.
Returns up to *limit* passages, each with the item_key and page so
you can cite them. Use ``format_citation(item_key)`` to render a
proper Harvard reference.
Args:
query: Natural-language query — a question, claim, or topic.
limit: Max passages to return.
item_key: If provided, restrict search to one paper's PDF.
max_per_paper: Cap chunks-per-paper to force result diversity.
Set to 0 or negative to disable.
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_passages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| item_key | No | ||
| max_per_paper | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |