Server-rendered bibliography (library items)
zotero_bibliographyCreate formatted bibliographies from Zotero library items by supplying item keys, choosing a CSL style, and optional locale or link wrapping. Returns XHTML.
Instructions
Produce a formatted bibliography for items already in a Zotero library, rendered server-side by Zotero in a CSL style (by the desktop app for a library it serves, so no cloud key is needed there; otherwise by the Web API). Provide item_keys and optionally style (a name such as "apa" or "chicago author-date", or a CSL id; unset renders Zotero's default, chicago-shortened-notes-bibliography), locale, and linkwrap. Returns XHTML. Note: this endpoint is item-only and capped at 150 items. For arbitrary CSL-JSON or items not in the library, use zotero_format_bibliography instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Style name or CSL id. | |
| locale | No | Locale (e.g. en-US). | |
| linkwrap | No | Wrap URLs/DOIs in links. | |
| item_keys | Yes | Library item keys (max 150). | |
| library_id | No | ||
| library_type | No |