Check Citations in a Draft
check_citationsCheck every number in a draft against the filing characters it cites, and link them.
Write your draft with a citation right after each figure, using the ref that list_figures or verify_figure gave for it: revenue of $68.1 billion [ref:0001045810-26-000019/q4fy26pr.htm@112+4] For a number you calculated, state the formula, then cite its inputs; a, b, c… are the refs in the order you cite them: up 73% [calc: a/b-1, ref:, ref:] free cash flow margin 53.9% [calc: (a-b)/c, ref:, ref:, ref:] Formulas use a-h, + - * /, parentheses and constants (a4, a/b100). A measure such as a margin can be defined more than one way, so the formula you state is the one checked and shown (formula_source "stated"); a figure printed in parentheses is tried as negative, then as a positive amount (signs). Without a formula, the usual sum, difference, ratio and growth rate are tried (formula_source "inferred"). You may also give a calc's value: [calc: 53.9% = (a-b)/c, ref:…]; without it, a calc is for the number just before the bracket. A ref is for the number in its sentence that equals the characters it points at, wherever it sits, so a ref at the end of a sentence works, and a year is checked like any figure when the ref points at a year. A ref names the exact characters in the document: /@+.
Returns per citation: ok / rounded (your number is the cited figure times a power of ten, rounded), mismatch (the cited characters, or your formula of them, give a different number), bad_ref (no number at that position), bad_formula (unreadable, or not using every cited input), bad_claim (a calc's stated value is not in its sentence), not_derivable (no formula stated, and no sum, difference, ratio or growth rate of the inputs gives your number). unsourced_numbers lists figures with no citation. Fix every failure before presenting the text, then use linked_text and footnotes: each footnote links to the highlighted figure in the filing, so a reader can check it.
Args: text: The draft, with [ref:…] / [calc: …] citations (max ~200 KB)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "check_citations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||