Get Bibtex
get_bibtexExport BibTeX entries from your Zotero library for selected items, a collection, or the whole library. Optionally include abstracts and convert to BibLaTeX.
Instructions
Export BibTeX entries from your Zotero library.
Can export specific items, an entire collection, or your whole library. Use save_bibtex when the export should be written to a local file.
Args: item_keys: Optional list of item keys to export. If omitted, exports collection or full library. collection_id: Optional collection key to export all items from. include_abstract: Include abstracts in BibTeX output (default False to save tokens). biblatex: Convert output to BibLaTeX format (default False). Remaps fields like journal→journaltitle, address→location, and merges year+month into date. max_chars: Maximum response size; use save_bibtex for larger full-library exports
Pass both library_id and library_type to target another library; omit both to use the configured default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| biblatex | No | ||
| item_keys | No | ||
| max_chars | No | ||
| library_id | No | ||
| library_type | No | ||
| collection_id | No | ||
| include_abstract | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |