import_pdf_to_zotero
Download a PDF from a URL and store it in Zotero as an imported attachment to enable full-text search and indexing.
Instructions
Download a PDF from a URL and upload it to Zotero storage as an imported_url attachment. Unlike linked URL attachments, imported files are stored in Zotero's storage and become fulltext-indexed (searchable via get_item_fulltext). Use this when you need the PDF content to be indexed by Zotero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the PDF to download and import | |
| tags | No | Tags to apply to the attachment | |
| title | No | Display title for the attachment (default: filename) | |
| filename | No | Filename for the attachment (default: extracted from URL or document.pdf) | |
| collections | No | Collection keys (only used for standalone attachments, ignored when parent_item is set) | |
| parent_item | No | Item key of the parent item. If provided, the attachment becomes a child of that item. | |
| content_type | No | MIME type of the file (default: "application/pdf") | application/pdf |