Session Law Change Feed
get_session_law_changesPoll a cursor-based sync feed of US state session-law changes—newly served, corrected, withdrawn, or merged—and use returned IDs to fetch full law text.
Instructions
A sync feed of the US state session-law registry: every law that began to be served, gained text, was corrected, unserved, withdrawn or merged, oldest first. Start with sinceId=0, then pass the returned cursor while hasMore is true. detectedAt is when we recorded the change, never an effective date. State laws only. An empty page is still charged. Read a law from the feed with get_session_law or get_session_laws_batch.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_session_law_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most entries on this page: 1 to 200, default 50. The price is per page, however many entries it holds, so a larger page is cheaper per entry. Out of range is a 422 and is never charged. | |
| sinceId | No | Return entries with an id greater than this. Send 0 (the default) to start, then the cursor of your last page; exact and immune to clock skew. A value past the newest id returns an empty page, which is charged. | |
| jurisdiction | No | Limit the feed to one two-letter state code, `dc` or `pr`; omit for all. `federal` or an unknown code is a 422, never charged. The cursor is a position in the whole feed, so a filtered page can skip ids. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||