Check a paper's references
preflight_checkVerify every cited reference in a LaTeX project or .bib file against real scholarly records, checking citation keys, metadata, and retractions.
Instructions
Verify every cited reference of a LaTeX project (or a .bib file) against real scholarly records, and check citation keys and the bibliography.
Returns a summary (error/warning counts, one verdict per reference, whether the run was
complete) and the findings, most severe first, max_findings at a time; call again
with offset=next_offset for more. complete: false means a source was unavailable,
so the paper cannot be declared clean yet. offline: true answers from the local cache
only. The first run of a paper may take a minute or two (progress is reported while the
references are searched); later runs are served from the cache.
Use this first, on the whole paper. Use preflight_explain to understand a finding,
preflight_bib_fix to get the corrections as a diff, and preflight_bib_lookup to get a
single entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the messages: English or Chinese. | en |
| path | No | A LaTeX project folder or .tex file, a Markdown, Quarto or Typst manuscript (.md, .qmd, .typ), a Word manuscript (.docx), or a reference list (.bib, .bbl, .json, .ris, .yml, .txt, .pdf), relative to the workspace root (default: the root itself). | . |
| offset | No | Where to start in the findings: 0 first, then `next_offset`. | |
| offline | No | true: answer only from the local cache and never touch the network (references not cached yet come back as unverified). | |
| include_info | No | Also return info findings (suggestions), not only errors. | |
| max_findings | No | How many findings to return in this call (at least 1). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||