Generate Citations
generate_citationsGenerate formatted citations for papers in BibTeX, CSL-JSON, or RIS format, resolving via Semantic Scholar and optionally enriching with OpenAlex metadata.
Instructions
Generate formatted citations for one or more papers.
Resolves papers via Semantic Scholar, optionally enriches with OpenAlex metadata, and formats as 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 | |||