Generate Citations
generate_citationsGenerate formatted citations for one or more papers in BibTeX, CSL-JSON, or RIS, resolving identifiers via Semantic Scholar and enriching missing venue data with OpenAlex.
Instructions
Generate formatted citations for one or more papers.
Papers are resolved through Semantic Scholar and can be enriched with OpenAlex metadata. The output is BibTeX, CSL-JSON or RIS.
Enrichment fans out per paper, so a large batch can take a while; such a
call answers with a job handle to poll using get_job_result instead
of the citations themselves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enrich | No | If True, attempt OpenAlex enrichment for missing venue data when a DOI is available. | |
| paper_ids | Yes | List of paper identifiers (S2 IDs, DOIs, arXiv IDs, etc.). Maximum 100. | |
| citation_format | No | Output format: ``bibtex``, ``csl-json`` or ``ris``. | bibtex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||