Attachment full-text
zotero_fulltextRetrieve, store, or track extracted full text for Zotero attachment items. Get indexed content, set extracted text, or list attachments changed since a library version.
Instructions
Not a search — to find which items contain a term, use zotero_search_items with qmode=everything. This reads, sets, or tracks one attachment's already-extracted full text by key. action: "get" returns the indexed text content plus indexing stats for an attachment item (only attachment items have full text; returns found:false if none); "set" stores extracted text for an attachment (provide content and the indexing counts); "since" returns the map of attachment keys whose full text changed after a given library version (useful for incremental indexing). Only attachment items support full text. "get" and "since" read through the running Zotero desktop app when there is one (no cloud key needed), otherwise the cloud Web API; "set" always writes via the cloud Web API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Library version for "since" (default 0). | |
| action | Yes | ||
| content | No | Extracted text (set). | |
| item_key | No | Attachment item key (get/set). | |
| library_id | No | ||
| total_chars | No | ||
| total_pages | No | ||
| library_type | No | ||
| indexed_chars | No | ||
| indexed_pages | No |