get_disclosure
Fetch and parse Korean stock disclosure documents by receipt number. Returns content or table of contents for large files, enabling section-level queries.
Instructions
공시서류 원본을 파싱해 가져옵니다. (접수번호는 get_disclosure_list의 rcept_no)
문서가 크면(약 200KB 초과) 전체 대신 목차(result.type == "toc")를 반환합니다. 목차가 반환되면 유저의 질문과 관련된 섹션을 section_id로 다시 조회하세요. 답변 후에는 조회하지 않은 나머지 섹션 목록을 유저에게 안내해 추가 조회 여부를 선택하게 하세요. 지정한 섹션도 크면 하위 목차(parent_section_id 포함)를 반환합니다.
Args: rcept_no: 접수번호(14자리). section_id: 조회할 섹션 ID(목차의 sections[].id = AASSOCNOTE). 생략하면 전체를 시도하고, 크면 목차를 반환합니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rcept_no | Yes | ||
| section_id | No |