download_xbrl
Download XBRL financial statement files from Korea's DART system by specifying company code, business year, and report type. Files are saved to your chosen directory.
Instructions
XBRL 재무제표 원본파일을 다운로드합니다.
Parameters:
corp_code: DART 고유번호 (8자리)
bsns_year: 사업연도 (예: "2024")
reprt_code: 보고서코드 (11013=1분기, 11012=반기, 11014=3분기, 11011=사업보고서)
output_dir: 저장 디렉토리 (기본값: 현재 디렉토리)
Returns:
다운로드 결과 메시지 (파일 경로, 포함된 파일 목록)
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": {
"corp_code": "<corp_code>",
"bsns_year": "<bsns_year>"
},
"name": "download_xbrl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| corp_code | Yes | ||
| bsns_year | Yes | ||
| reprt_code | No | 11011 | |
| output_dir | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |