Browse Japanese Law Text
jplaw_get_lawBrowse a whole-law or selected-part outline, optionally limited to headings, or read complete text units. Pin law_revision_id and keep the same part and view controls when following next_offset. Check updated for corrections.
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": "jplaw_get_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | No | Exact e-Gov law ID, Japanese law number, title, or abbreviation. Required unless a revision ID is supplied. | |
| asof | No | Calendar date on or after 2017-04-01. Mutually exclusive with law_revision_id. | |
| part | No | Japanese part label (such as 本則, 制定文, 目次, or 別表第1), structure path, or canonical selector from this revision. Use 全部 for the whole law. | |
| view | No | Defaults to an outline without part and text with part. Choose outline with part to browse its descendants, or text without part to read the whole law. | |
| limit | No | Maximum complete outline entries or text units per page. | |
| offset | No | Number of outline entries or text units to skip. | |
| outline | No | Outline detail level. Defaults to full. Use headings to omit article and paragraph detail. Applies only to outline views. | |
| law_revision_id | No | Exact pinned revision ID from a law read or revision list. Mutually exclusive with asof. | |
| include_amendment_suppl | No | Include amending supplementary provisions in whole-law text. Outlines include them within the selected scope. Explicit supplement selections always include the selected supplement. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | No | Identity of the selected law. | |
| view | No | Type of paged result. | |
| count | No | Entries on this page. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | Whether the law revision and requested part were resolved. | |
| units | No | Complete Japanese text units in document order. | |
| outline | No | Outline entries in document order. | |
| guidance | No | How to recover from a miss or an offset beyond the end. | |
| revision | No | Pinned text revision and its observed update timestamp. | |
| downloads | No | Downloads for the complete pinned law. | |
| selection | No | Selection and paging inputs used for the view. | |
| truncated | No | Whether further entries are available after this page. | |
| candidates | No | Equally exact law matches for an ambiguous selector. | |
| attachments | No | Attachment descriptors for the pinned revision. | |
| attribution | No | Source attribution and transformation notice. | |
| next_offset | No | First unread entry, or null at the end. | |
| total_count | No | Exact total entries for this view. | |
| candidate_selectors | No | Canonical part selectors for an ambiguous part label. |