Get attachment full text
zotero_get_item_fulltextRetrieve indexed full text from Zotero attachments using an item key. If given a parent item, searches its attachments for the first indexed text, with optional truncation.
Instructions
Return the indexed full text of an attachment. Passing a regular item key works too: its attachments are searched and the first one with indexed text is used. Text comes from Zotero's own index, so it is available only for attachments Zotero has indexed. Long documents can be truncated with maxCharacters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | No | Group library ID. Omit for the personal library ("My Library"), which is what almost every request wants. Group IDs come from zotero_list_libraries. | |
| itemKey | Yes | Attachment key, or a parent item key to search its attachments. | |
| maxCharacters | No | Truncate the returned text at this many characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| truncated | Yes | ||
| totalPages | Yes | ||
| indexedPages | Yes | ||
| attachmentKey | Yes | ||
| totalCharacters | Yes |