read_law_text
Read Japanese law text as plain text, either the whole law or a specified element such as an article or chapter. Retrieve results in chunks and continue from the returned offset.
Instructions
Read a law's text as plain text: the whole law, or the one part elm names, such as MainProvision-Article_17, MainProvision-Chapter_4-Section_2, SupplProvision[1]-Article_1 or AppdxTable[1]. The text comes back in pieces of max_chars; continue from next_offset. The law's 目次 is not included — get_law_outline returns it — and the supplementary provisions of amending laws are left out unless include_amendment_supplements is true.
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_id_or_num": "<law_id_or_num>"
},
"name": "read_law_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elm | No | Element path from get_law_outline. | |
| asof | No | YYYY-MM-DD; the text in force then. | |
| offset | No | Character offset to read from. | |
| max_chars | No | ||
| law_id_or_num | Yes | Law id, law number or revision id. | |
| include_amendment_supplements | No | Include the amending laws' supplementary provisions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||