Extract the full text of an item's PDF
zotero_get_fulltextExtract readable full text from a Zotero item's best PDF attachment, using the Zotero API to download and parse the document locally. Specify page ranges or character limits as needed.
Instructions
Extract readable text from the best attachment of an item.
The attachment is downloaded through the Zotero API and parsed locally, so the text is the document's own, not a summary.
Args: item_key: Key of the parent item, or of the attachment itself. pages: Optional 1-based page selection such as "1-8" or "2,5,9-11". Omit to read the whole document. max_chars: Override the configured character cap for this call.
Returns: The extracted text, preceded by a short provenance header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| item_key | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |