Search statutes
search_statutesFull-text search of a state's codified law (GET /v1/statutes/search). Use for 'what does the law say about X' and to find the section a bill or ballot measure changes. Returns matching sections with headings and excerpts; fetch the whole section with get_statute. Only states whose code is loaded resolve to section text (see list_statute_coverage); a link to a section we hold carries resolved:true and the text, otherwise just the citation as written.
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": {
"state": "<state>",
"q": "<q>"
},
"name": "search_statutes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Words to find in section headings and text. | |
| code | No | Restrict to one code (code_key from list_statute_coverage), e.g. a California code. | |
| limit | No | ||
| state | Yes | 2-letter postal code (e.g. NJ), DC, GU, or US for the U.S. Code. |