zotero_get_pdf_outline
Extract the table of contents from a PDF attachment as a hierarchical markdown list with page numbers, helping you quickly orient in a paper before fetching full text.
Instructions
Extract the table of contents (outline/bookmarks) from a PDF attachment, returned as a hierarchical markdown list with each entry's page number. Use this to orient in a paper before calling zotero_get_item_fulltext — the outline is typically < 200 tokens versus 10K+ for the full text. If the PDF has no embedded outline, returns a short 'no outline' message rather than failing. item_key: the PDF ATTACHMENT key OR the parent item key — both are accepted; attachment-to-parent resolution is automatic. Find the right key with zotero_get_item_children if unsure. Scope: PDFs only (EPUBs have no outline extraction here). Requires PyMuPDF (pip install zotero-mcp-server[pdf]). Read-only; works in local or web mode. Example: zotero_get_pdf_outline(item_key='RTKZQI8E').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |