download_document
Retrieve original disclosure documents from Korean DART in markdown, XML, or plain text format. Converts DART XML to markdown while preserving headings and tables.
Instructions
공시서류 원문을 마크다운/원본XML/plain text 로 반환합니다. 기본값 markdown — DART 전용 XML 을 자체 파서로 heading·테이블 보존해 변환. 대형 사업보고서는 수백 KB 이상이라 기본 10만 자에서 절단. 사업보고서·반기보고서·주요사항보고 등 모든 공시 원문에 사용.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rcept_no | Yes | 접수번호 14자리 (search_disclosures 의 rcept_no) | |
| format | No | 출력 포맷. markdown=DART XML → 마크다운, raw=원본 XML, text=태그 제거 | markdown |
| truncate_at | No | 텍스트 최대 길이 (초과분은 잘림) |