scan_folder_structure
Scan a fixed folder recursively to list all files with paths, extensions, sizes, times, and access flags, and see which files are blocked by size or extension limits with extension counts.
Instructions
서버에 고정된 대상 폴더를 재귀적으로 훑어 파일 구조를 돌려줍니다.
폴더 분석의 출발점입니다. 각 항목의 allowed가 false이면 확장자 또는
크기 제한 때문에 다른 도구로 읽을 수 없다는 뜻이며, reason에 이유가
담깁니다.
Returns:
ScanResponse: entries[]에 상대 경로·확장자·크기·수정 시각·허용
여부가 담기고, extension_counts에 확장자별 개수, truncated에
항목 수 제한으로 일부만 담겼는지 여부가 담깁니다.
Examples: - 사용: "이 폴더에 어떤 파일들이 있나요?" - 사용하지 않음: 이미 대상 파일을 알고 있고 원문이 필요할 때 → read_document_chunk
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | Yes | 폴더 분석 워크플로에서 지금 위치한 단계 | |
| status | Yes | 이 호출의 결과 상태 | |
| entries | Yes | ||
| max_depth | Yes | ||
| truncated | Yes | ||
| target_dir | Yes | ||
| total_files | Yes | ||
| next_actions | No | 이어서 호출하면 좋은 도구 목록 | |
| extension_counts | Yes | ||
| total_size_bytes | Yes |