Get Law Context
get_law_contextWHEN a law is known, get compact status, structure outline, or relationships before reading text. Budget: summary <= ~3KB, outline <= 15KB, relationship groups capped at 20 each. law.source has the official link; if source.verified is false, say quoted text is unverified.
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": {
"law": "<law>"
},
"name": "get_law_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | Yes | Canonical law_id or citation string accepted by resolve_law, e.g. 16 or 'UU 27 tahun 2022'. | |
| detail | No | One of summary, outline, relationships. | summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||