法令本文取得
get_law_dataRetrieve Japanese law text in JSON format by specifying a law ID, law number, or revision ID.
Instructions
法令ID・法令番号・改正IDを指定して法令本文をJSONで取得する(e-Gov法令API v2 GET /law_data/{law_id_or_num_or_revision_id})
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_or_revision_id": "<law_id_or_num_or_revision_id>"
},
"name": "get_law_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elm | No | 取得したい要素の指定(例: 条番号) | |
| law_full_text_format | No | 本文の形式(jsonのみサポート) | |
| law_id_or_num_or_revision_id | Yes | 法令ID、法令番号、または改正ID |