list_documents
Retrieve filtered file paths from a folder for analysis, supporting extension, name pattern, sorting, and image-file identification.
Instructions
폴더 안 파일 목록을 돌려준다.
여기서 받은 path 값을 다른 도구의 path 인자에 그대로 넣으면 된다.
kind가 image인 파일은 텍스트 검색에 잡히지 않으므로 read_image로 봐야 한다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | 확장자 필터. 예) '.pdf' 또는 'pdf,pptx'. 비우면 전체. | |
| limit | No | 돌려줄 최대 파일 수 | |
| pattern | No | 파일명·경로에 포함될 문자열 필터(대소문자 무시). 비우면 전체. | |
| sort_by | No | 정렬 기준: path | size | path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| files | Yes | ||
| shown | Yes | ||
| stage | Yes | 문서 분석 워크플로에서 지금 위치한 단계 | |
| status | Yes | 이 호출의 결과 상태 | |
| truncated | Yes | ||
| next_actions | No | 이어서 호출하면 좋은 도구 목록 |