파일 다운로드
fourinsure__b1__resources__files__downloadREQUIRES prior fourinsure__session__login call with same account_link_id. Checks whether the attachment exists and returns its original file name by default (dry-run); no file is included. Send dry_run=false to receive the actual file in the result artifacts. Files: the document the institution issued, unchanged, as Hancom Office (hwp) or PDF, listed in artifacts[] of the result with a download_url that works for 15 minutes; each file is kept for 7 days. If a link has expired, call xdata__job__result with the job_id from the result for fresh links. For an anonymous result, keep its private recovery_receipt and send it with the original job_id or pack_run_id to xdata__job__result. It grants access to that result only, until the original file retention expires. Do not publish it. Losing it cannot be repaired by signing up. The receipt also works if the client later signs in; it does not grant access to other results. Without a receipt, results require the original account and lane. For an authenticated call, generate and save request_idempotency_key before the first request. Reuse it with the same arguments only to recover that request after a lost response; use a new key for a new execution. Without it, calling again remains a new request. This optional key is not available to anonymous taste calls. Keep any provider-specific idempotency_key unchanged; it is a different field. 호출마다 토큰 1소진 요청 처리 시 XBOSS 작업을 생성하고 처리 결과를 저장합니다. 기관 원본의 조회 여부와 별개로 이 호출은 순수 읽기 전용이 아닙니다. 기관 데이터 변경은 도구별 실행 내용과 기존 확인 절차를 따릅니다.
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": {
"atfl_id": "<atfl_id>",
"atch_file_sn": "<atch_file_sn>"
},
"name": "fourinsure__b1__resources__files__download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atfl_id | Yes | Attachment file ID | |
| dry_run | No | Default true (dry-run): returns existence and file name only. Set false to receive the actual file in the result artifacts. | |
| atch_file_sn | Yes | Attachment file sequence number | |
| account_link_id | No | 연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다. | |
| request_idempotency_key | No | Optional same-request recovery key for authenticated calls; see the tool description. |