get_bibtex_and_citation_for_items
Retrieve BibTeX, citation, and bibliography text for Zotero items using item keys. Specify a CSL style (e.g., 'apa') and locale to get formatted references. Returns JSON with per-item exports.
Instructions
Get BibTeX, citation text, and bibliography text for one or more Zotero items. Provide at least one of item_key or item_keys.
Args:
item_key: A single Zotero item key for one item. Use the key field from
search_library, list_collection_items, or get_recent_items
results (for example, X9KJ2M4P).
item_keys: A list of Zotero item keys for batch use. Use the key field from
search_library, list_collection_items, or get_recent_items
results (for example, X9KJ2M4P). item_key and item_keys can be
combined, and at least one must be provided.
style: CSL style ID to use for formatted citation and bibliography text (for example,
'apa', 'ieee', or 'chicago-note-bibliography'); see the Zotero Style Repository
for the full list
locale: Citation locale to use for formatted citation and bibliography text
Returns:
JSON with one entry per requested item, including plain-text citation,
plain-text bibliography, and a BibTeX export block. The response always
uses the batch items shape, even when only one key is requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_key | No | A single Zotero item key. At least one of `item_key` or `item_keys` must be provided. | |
| item_keys | No | A list of Zotero item keys for batch export. At least one of `item_key` or `item_keys` must be provided. | |
| style | No | chicago-note-bibliography | |
| locale | No | en-US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |