Statutes Search Tax Code
statutes_search_tax_codeSearch federal, state, Puerto Rico, and Canada tax statutes by keyword or concept; get ranked snippets with citations, IDs, jurisdiction, year, and validity to locate full statute text.
Instructions
Keyword and concept search across Federal, State and Canada (CAN) statutory corpora. Multi-word queries match individual terms: rows with the whole phrase rank first, then by how many terms match, then newer effective year first (empty or non-numeric years last), then id. Each result is a short snippet (up to 300 characters around the first matched term) with its id, citation, title, jurisdiction, year, validity and content labels, not the full text: call statutes_lookup_statute with citation_or_section set to the result's id to read the full text. limit is clamped to 1..25 results per call (see limit_applied); while next_offset is not null, call again with offset set to it for the next page. lang picks the snippet language (en, es or fr); matching reads every language a row has.
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": {
"query": "<query>"
},
"name": "statutes_search_tax_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Snippet language: 'en' (default), 'es' or 'fr'. 'fr' takes the French text of a Canada row and otherwise the row's official language. | en |
| limit | No | Results per call (default 5), clamped to 1..25: a value under 1 is raised to 1 and one over 25 is lowered. | |
| query | Yes | ||
| corpus | No | Optional corpus code, e.g. 'IRC', 'RCW', 'LEY60'. A jurisdiction code or name ('washington') is also accepted and filters by jurisdiction. | |
| offset | No | Optional number of ranked results to skip (paging). | |
| tax_year | No | ||
| jurisdiction | No | Optional jurisdiction code or full name, e.g. 'WA' or 'Washington', 'PR' or 'Puerto Rico', 'US' or 'federal', 'CAN' or 'Canada'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||