get_law
Retrieve Japanese law metadata and a plain text preview from e-Gov Law Search using a law ID or law number.
Instructions
Retrieve law metadata and a plain text preview from e-Gov Law Search.
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": "get_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lawId | No | e-Gov law ID. Either lawId or lawNum is required. | |
| lawNum | No | Japanese law number. Either lawId or lawNum is required. | |
| previewChars | No | Maximum preview length. Defaults to 5000. |