get_bibtex
Fetch BibTeX for a DOI from Crossref and append it to your local references.bib, skipping duplicates and leaving the file unchanged on errors.
Instructions
Fetch the official Crossref/DOI BibTeX entry and append it locally.
Skips the write when the DOI or cite key is already in the file
(status=duplicate). Failures leave the .bib unchanged.
Status values: added, duplicate, not_found, error, invalid_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | Yes | DOI string or `https://doi.org/...` URL. | |
| bib_path | No | Workspace-relative bibliography path (default `references.bib`). | references.bib |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | Yes | ||
| bibtex | No | ||
| status | Yes | ||
| message | No | ||
| bib_path | No | ||
| cite_key | No | ||
| error_code | No |