law_body
Fetch the main body text of a Korean legal document—such as a statute, precedent, or interpretation—using its target code and document ID. Optionally include related articles and set a character cap.
Instructions
식별자 1건의 본문을 받는다(조문·판시사항·질의요지 등).
Args:
target: 갈래 코드.
doc_id: 목록 결과의 일련번호. 갈래마다 파라미터명이 MST/ID 로 다르지만
이 도구가 알아서 맞춘다.
include_articles: 조문 목록을 함께 돌려줄지(법령·자치법규에만 있다).
ef_date: 시행일법령(eflaw) 전용 — 목록의 시행일자. 🔴 없이 부르면 오류가
아니라 HTML 이 온다. 같은 법령의 시행일별 판본이라 (MST, efYd) 가 신원이다.
max_chars: 본문 텍스트 상한. 넘으면 잘라내고 그 사실을 알린다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| target | Yes | ||
| ef_date | No | ||
| max_chars | No | ||
| include_articles | No |