get_law_tree
Extracts the table of contents tree from a Korean law with article ranges and counts. Helps navigate large laws like PIPA to find relevant sections quickly.
Instructions
법령 내부 편·장·절·관 목차 트리 (lawService · target=law JSON, '조문여부=전문' 헤더 추출). PIPA 같은 대형 법령(126조+)에서 LLM 네비게이션 보조용 — 어느 장·절을 봐야 할지 빠른 결정. 각 헤더의 조문 범위([제N조~제M조]) + 조문 개수 표시. get_law_text(전체 본문, 12K cap)와 다름: 본문 X 구조만. get_law_system_tree(법-시행령-시행규칙 체계도)와도 다름. 다음: get_law_text(mst)로 전문, compare_articles(mst, jo)로 특정 조문 정밀 조회.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mst | No | 법령일련번호 (search_law 결과의 [mst=N]) | |
| lawId | No | 법령ID (mst와 택1) | |
| efYd | No | 시행일 YYYYMMDD (시점별 트리 조회용) |