Search State Session Laws
search_session_lawsSearch enacted US state session laws by keyword, exact phrase, citation, code section, or bill number to get ranked matches with the matching passage and snippet.
Instructions
Keyword search (BM25, not semantic) over the ENACTED text of US state session laws, best first, each with the passage that matched and a snippet. Send plain words, a quoted phrase (verbatim), a citation, a code section or a bill number. Words must match the act's own vocabulary: teeth cleaning will not find dental hygienist. Struck language is never searched. There is no 'no good match' flag, so read the snippet. An empty result is still charged.
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": "search_session_laws"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Laws per page, 1 to 25. A page costs the same however many laws it holds, so a larger `limit` is cheaper per law. | |
| query | Yes | Plain words, a quoted phrase (matched verbatim), a citation (`63-3004`), a code section or a bill number (`S.F.No. 1552`). Unquoted words are stemmed and matched as the legislature wrote them, so use the act's vocabulary. 2 to 300 characters. | |
| offset | No | Laws to skip, for the next page: `offset` plus `limit` can reach at most the 60 best matches. Each page is a new search and is charged. Deeper than 60 is a 422, never charged: narrow the search with a filter instead. | |
| series | No | Limit to these numbering series (OR), as a result's series reports it; `general` is most states' ordinary chapter sequence. An unknown value is a 422, never charged. | |
| session | No | One session, by the code `session.code` reports (`2025R`, `2025S1`). Case-sensitive. Applies to every kind of match, so a narrow session can leave fewer than `limit` laws on a page. | |
| approvedTo | No | Only laws approved on or before this date, `YYYY-MM-DD`, inclusive. An end before `approvedFrom` is a 422, never charged. | |
| approvedFrom | No | Only laws approved on or after this date, `YYYY-MM-DD`, inclusive; a real calendar date (`2025-02-30` is a 422). A law with no printed approval date never matches. | |
| jurisdiction | No | Limit to one jurisdiction: the 56 jurisdictions (the 50 states, `dc` and the territories `pr`, `gu`, `vi`, `as`, `mp`). Two-letter code, case-insensitive. Omit to search every jurisdiction we hold. `federal` and an unknown code are a 422, never charged. | |
| instrumentType | No | Limit to these kinds of measure, one or more (OR). One of `act`, `joint_resolution`, `concurrent_resolution`, `resolution`, `resolve`, `memorial`, `other`. Any other value is a 422, never charged. | |
| 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. | |
| includeUnverified | No | Opt in to results for laws we hold but do not serve for their text (`textStatus: withheld`). Default `false` leaves them out. With `true` they are returned and each carries `textReliability`, `reasonCode` and a `notice`; the text MAY show deleted or vetoed law as enacted. A law whose licence bars use is never returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||