Law details
law_detailsThe full record of a law's change: its commit message with every trailer (enacted, in force, published, sources, scope), the provisions it changed, and what it did to each one's words (a word diff, or "layout only", or "text moved between provisions"). One call answers "what did this law change"; no need to compare each provision.
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": "law_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | No | The law as it appears as author, for example "Pub. L. 117-151", "36. Änderung", "S.I. 2020/471". | |
| commit | No | Or a corpus commit hash, for example from provision_history. | |
| jurisdiction | No | Optional jurisdiction: a country by its name in English or its own language ("germany", "Deutschland", "UK") or its ISO code ("de"), or a path prefix, for example "germany", "united-states/federal" or "united-kingdom/uk/legislation/uksi". | |
| include_diffs | No | What the change did to each provision (default true; up to 60 provisions). | |
| max_message_chars | No | Cut each commit message at this many characters (default 3000, at least 500, at most 50000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||