resolve_dois
Extract DOIs from messy text and resolve them to clean metadata, verifying existence and enabling citation formatting. Ideal for cleaning reference lists or checking DOIs before citing.
Instructions
Find every DOI mentioned in free text and resolve each one to clean metadata.
When to use:
- The user pastes a messy reference list, a PDF's text, notes or a URL list and wants to know
what the papers are, check that the DOIs exist, or turn them into a clean table.
- Verifying DOIs produced by another tool or model before citing them.
Args:
text: Any text containing DOIs in any form ("doi:10.x/y", "https://doi.org/10.x/y", bare).
max_dois: Resolve at most this many unique DOIs (default 25, max 100).
Returns:
{"found": int, "works": [compact work], "failed": [{"doi", "error"}]}. A DOI in "failed"
with "Not found" is unknown to Crossref (typo, fabricated, or registered with DataCite).
Follow-up: pass the resolved DOIs to cite_dois to format a bibliography.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| max_dois | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||