Read a provision or a law
fetchRead in full a law or provision search found, by its id. A provision's id (labor-standards-act/art-36) returns it as Markdown: the Japanese text with each paragraph's English under it, every English line marked as the Ministry of Justice's translation, the Ministry's with a slip corrected, or machine translation; its address and URLs on every line; what it cites and what cites it; and its sources. A law's id (labor-standards-act) returns the law's overview — what it is for, who it applies to, how it is enforced — the texts held, and its outline, never its whole text. The site's other pages are read by id too, each as its own Markdown: a legal term explained (concepts/act — the explanation search's concepts give an id for), a day of the calendar of changes (changes/2027-04-01), an amending Act (acts/508AC0000000060) and a topic's laws (laws/work); metadata.kind says which, and metadata.lawId is "" on a page of no law. A japanlaw.org URL is accepted as an id too. A provision is read in the text in force unless asOf (a day) or version names another text held: an earlier one, or one an amendment not yet in force will leave.
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": {
"id": "<id>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | An id from search or get_law: a law's slug, <slug>/<address>, or a page's id — concepts/<key>, changes/<day>, acts/<law id>, laws/<topic>. A japanlaw.org URL also works. | |
| asOf | No | Read the text as it stood on this day, YYYY-MM-DD (2027-04-01): past, today or to come. Unset reads the text in force. A day whose text japanlaw.org does not hold is refused as not held, with the texts that are; never answered with the nearest text. | |
| lang | No | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". A law's or a provision's text always holds both languages; a page's id (concepts/, changes/, acts/, laws/) is returned in this language, or in the language its japanlaw.org URL names when lang is unset. | |
| version | No | Read one held text by its version, as get_law's versions lists it (20270401_508AC0000000060). Unset reads the text in force. Pass asOf or version, not both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| note | No | What to know about this answer. Where the law was not named exactly, it opens by saying how it was read: a slug or English title a letter or two off read as the one held law it is near — "read 'labor-contract-act' as labor-contracts-act (労働契約法, Labor Contracts Act)". | |
| text | Yes | ||
| title | Yes | ||
| metadata | Yes |