Extract Citations from Text
extract_statute_citationsTurn pasted legal text into distinct US statute, regulation, court rule, and constitution citations, optionally resolved to their sections; case citations are not included.
Instructions
Paste text (a brief, memo or answer) and get each distinct US statute, regulation, court rule and constitution citation, resolved to its section. Not case citations; extraction can miss one. Extraction is free (resolve=false); each distinct citation resolved is charged. Rows carry charStart/charEnd, rangeRole/rangePartner (range ends are two charged rows; interior rows are never charged) and counts.distinctSections. Up to 200,000 characters, never stored.
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": "extract_statute_citations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to read, 1 to 200,000 characters (a brief is about 30,000). Longer is a 422, never a silent truncation: a partial list reported as the whole is a wrong answer. Plain text; a body that is mostly binary is a 422. | |
| state | No | The document's jurisdiction as a two-letter state code (the forum of a filing). It scopes a citation that names no jurisdiction, such as `Civil Rule 56.1`; a citation naming its own is always checked against that one. | |
| resolve | No | Resolve each distinct citation to its section (priced per distinct citation, see the endpoint's Cost). `false` returns the extraction alone, which is free. | |
| Idempotency-Key | No | Optional, 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and request replays the original 2xx for 24 hours without charging again; the same key with a different request is rejected. | |
| includeUnresolved | No | `false` drops rows that were sent to the resolver and did not resolve; rows with `skipped` set are always kept. `counts` and the charge are unchanged. Ignored when `resolve` is false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||