Search Japanese law
search日本の法令についての質問(有給休暇、解雇予告、留学生のアルバイト、在留資格、確定申告など)に、根拠となる条文を探す。 Find what Japanese law says on a question asked in words — paid leave, notice of dismissal, a student's part-time work, 有給休暇, 解雇予告 — and the provisions to quote and link. Search the Japanese statutes japanlaw.org holds, in force today. A query with any Japanese in it searches the Japanese text (時間外労働, 有給休暇); one without searches the English shown for each provision, stemmed (overtime, paid leave). Results are the laws whose names or descriptions match — as many as limit, lawsTotal counting them all — then one result per matching article at its best-matching paragraph or item, best first; each has an id to pass to fetch (or pass its law and path to get_provision as law and address), the page's url, the Japanese and English designation (第三十六条第一項 / Article 36, paragraph (1)) and a snippet. terms lists words a law defines that match; concepts, words of Japanese law the site explains. Every word must be at least two characters. Only the laws list_laws names are searched; law searches one of them alone, its provisions and the terms it defines. When a law the reader names finds nothing, check list_laws: one not there is not held — say so rather than answering from memory.
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": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | No | Search this law only: its Japanese title, English title, short name, slug or e-Gov law ID. Unset searches every law held. | |
| lang | No | The language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages. | |
| page | No | Which page of results, from 1. | |
| limit | No | Articles per page, 1–25; default 10. As many laws at most come first. | |
| query | Yes | Words to find, in Japanese or English. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| pages | Yes | ||
| total | Yes | ||
| results | Yes |