prec_service
Retrieve full text of Korean court precedents by ID from the National Law Information API to support legal research and analysis.
Instructions
Retrieve court precedent full text (판례 본문 조회).
Args: id: Precedent sequence number (판례일련번호) lm: Precedent name (optional) oc: Optional OC override type: Response format - "HTML" or "XML" (default "XML")
Returns: Full precedent text with details or error
Examples: >>> prec_service(id="228541")
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": {
"id": "<id>"
},
"name": "prec_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| lm | No | ||
| oc | No | ||
| type | No | XML |