State Session Law Text
get_session_law_bodyFetches the exact printed text of a US state session law page by page and flags amendatory markup so struck language is not mistaken for enacted law.
Instructions
The text of one US state session law exactly as printed, about 30,000 characters per page; follow nextCursor while hasMore is true, each page charged. Check amendatoryMarkup: if lost, struck language may read as law. A withheld or not-held law answers available: false with a reason and is not charged: withheld means we hold the text but a measured defect keeps it back, so read the source instead.
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": {
"session_law_id": "<session_law_id>"
},
"name": "get_session_law_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | The previous page's nextCursor, unchanged; omit for the first page. Tied to the exact text: an unknown or expired cursor is a 422, one from before the text was re-collected is a 409 (start again). Never charged. Send cursor or startChar, not both. | |
| version | No | Read this version of the text instead of the current one: a `version` from get_session_law_versions. Omit for the current version. A cursor belongs to its version (a 409 on another), an unlisted number is a refunded 404 and a value below 1 is a 422. A withheld law's older version needs `includeUnverified=true`, as its current text does. | |
| startChar | No | Start the page at this 0-based character offset (the scale of pageStart and totalChars) to jump to a known place without paging. Same page size and price as any page. Send startChar or cursor, not both. At or past the end of the text is a 422, refunded. | |
| session_law_id | Yes | A state session law id, e.g. `SSL_MN_2025R_G_Y2025_C1`, from list_session_laws or get_session_law. Pass the id, not a citation: resolve a citation with get_session_law first. Federal `SAL_` ids 404. | |
| 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. | |
| expectTextSha256 | No | The textSha256 you read under, lowercase hex, 16 to 64 characters. If the text has since been re-collected the answer is a 409 and nothing is charged. Use with startChar, which has no version binding of its own. | |
| includeUnverified | No | Opt in to the text of a law we hold but do not serve (`textStatus: withheld`). Default `false`: it answers `available: false`. With `true` the text is returned when the reason is one we can label, and every page carries `textReliability`, `reasonCode` and a `notice` to show beside it: the text MAY show deleted or vetoed law as enacted. A law whose licence bars use, or whose text failed validation, is never served. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||