Search Japanese Laws
jplaw_search_lawsSearch national law metadata by Japanese title or abbreviation, law type, subject, promulgation, repeal status, or amending law ID. Use asof to select a date view. For words in a law’s body, call jplaw_search_text. To see every amendment of one law, call jplaw_list_revisions.
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_search_laws"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asof | No | ISO date for the historical or future metadata view, from 2017-04-01. Omit for the default view. | |
| sort | No | Sort by ascending law number, newest law promulgation, or newest amendment promulgation. | law_number |
| limit | No | Maximum results per page. Values above 500 are served at 500. | |
| title | No | Substring of the Japanese title or an abbreviation. Ignores ASCII case and width. | |
| offset | No | Zero-based offset or next_offset from the previous call. | |
| status | No | Repeal status. in_force selects e-Gov status None in the selected view. | in_force |
| law_types | No | Accept any listed law type. A compound value matches the exact composite type. | |
| categories | No | Accept any listed Japanese subject category code. | |
| law_num_era | No | Era of the published law number. | |
| law_num_year | No | Year within the Japanese era of the published law number. | |
| promulgation_to | No | Latest law promulgation date, inclusive. | |
| amendment_law_id | No | Exact 15-character e-Gov law ID of an amending Act. Select affected laws and their matched revisions. Use status all for every repeal status. | |
| promulgation_from | No | Earliest law promulgation date, inclusive. | |
| amendment_enforcement_to | No | Latest reported amendment enforcement date, inclusive. A date not yet fixed matches at e-Gov’s placeholder and is marked enforcement_date_placeholder. | |
| amendment_promulgation_to | No | Latest promulgation date of the selected revision’s amendment, inclusive. | |
| amendment_enforcement_from | No | Earliest reported amendment enforcement date, inclusive. A date not yet fixed matches at e-Gov’s placeholder and is marked enforcement_date_placeholder. | |
| amendment_promulgation_from | No | Earliest promulgation date of the selected revision’s amendment, inclusive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| laws | No | Matching law identities and selected revisions. | |
| count | No | Number of results returned in this page. | |
| error | No | Present when the call failed. Absent on success. | |
| limit | No | Effective maximum number of results in this page. | |
| notice | No | Paging or empty-result guidance when applicable. | |
| offset | No | Zero-based offset into the filtered collection. | |
| truncated | No | Whether more matching laws can be read using next_offset. | |
| fetched_at | No | When this metadata snapshot finished loading, ISO 8601. | |
| attribution | No | Source and reformatting credit. | |
| next_offset | No | Offset of the first unread result, or null at the end. | |
| total_count | No | Total results before pagination. | |
| applied_filters | No | Effective search filters and sort order. |