Get Law
get_lawFetch a Japanese law/ordinance by its e-Gov law id (from search_laws), e.g. "415AC0000000057". Returns the title, law number, promulgation date, and the law's full text, PAGED — use offset/limit to walk a long law; has_more/next_offset say whether another page follows. For a single article (incl. branch articles like 第二十七条の2), use japan_law_get_article instead — it is far cheaper than paging a whole law to find one provision. Pass as_of (YYYY-MM-DD) to fetch the version of the law in force on that date. Source: e-Gov 法令検索.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Point-in-time date (YYYY-MM-DD). Returns the revision in force on that date instead of the current one. | |
| limit | No | Max characters to return in this page (default 30000, max 60000). | |
| law_id | Yes | e-Gov law id, e.g. "415AC0000000057". | |
| offset | No | Character offset into the full text to start this page at (default 0). |