Get attachment full text / passages (read-only)
zotero_get_fulltextRetrieve PDF text from a Zotero item to support claims with page citations. Use query for relevant passages, page_range for a specific span, or get a truncated summary.
Instructions
Retrieve an item's PDF text for grounding. Pass a parent item_key (its best PDF attachment is resolved automatically) or an attachment key. With query, returns the top relevant passages with locators (char offsets, nearest section, and a page); with page_range (e.g. "3-7"), returns that span; with neither, returns a truncated head. Page numbers are an estimate (pageApprox) unless precise_pages:true, which re-extracts the PDF for exact pages when possible (otherwise it degrades to approximate with a notice). Read-only; cloud full text. Use this to cite a claim with a page after finding an item via zotero_search_items / zotero_semantic_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Return top passages relevant to this query. | |
| item_key | Yes | Parent item key or attachment key. | |
| max_chars | No | Best-effort cap on total returned text (default 12000); a single passage is never split, so one passage may slightly exceed it. | |
| library_id | No | ||
| page_range | No | Page span like "3-7" (1-based, inclusive). | |
| library_type | No | ||
| max_passages | No | Max passages (default 5). | |
| precise_pages | No | Re-extract the PDF for exact page numbers. |