get_paper_text
Retrieve full-text excerpts from Zotero items by character offset or keyword query, without downloading or parsing PDFs.
Instructions
Read bounded text from Zotero's synchronized full-text endpoint.
This tool does not download or parse the PDF. Zotero does not provide reliable page boundaries, so returned segments use character offsets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional literal phrase. When set, return excerpts around matches instead of one contiguous text segment. | |
| offset | No | Character offset for contiguous text or the start of excerpt search. | |
| item_key | Yes | The 8-character Zotero key of a bibliographic item. | |
| attachment_key | No | A PDF attachment key returned by get_paper. It is required only when the paper has multiple PDF attachments. | |
| max_characters | No | Maximum text characters to return. The server-configured maximum is used when this value is omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| status | Yes | ||
| message | No | ||
| item_key | Yes | ||
| segments | No | ||
| match_count | No | ||
| next_offset | No | ||
| total_pages | No | ||
| indexed_pages | No | ||
| attachment_key | No | ||
| total_characters | No | ||
| content_characters | No | ||
| indexed_characters | No | ||
| available_attachments | No |