build_digest
Build a folder summary digest with file structure snippets and leading content excerpts in one call, reducing round trips. Excerpts cover only beginnings; truncated files need further extraction.
Instructions
폴더 전체 요약용 재료를 한 번에 모아준다.
파일마다 [축약 구조 + 본문 앞부분]을 붙여 돌려준다. "이 폴더 전체를 요약해줘" 같은 요청에 이걸 먼저 부르면 왕복이 줄어든다.
발췌는 앞부분뿐이다. 여기 실린 내용만으로 "문서 전체를 읽었다"고 하지
마라. 결론에 영향을 주는 파일은 extract_content로 이어 읽어라.
truncated가 True면 담기지 않은 파일이 있으니 그 사실을 밝혀라.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | 확장자 필터. 예) 'pdf,pptx'. 비우면 전체. | |
| limit_files | No | 최대 파일 수 | |
| chars_per_file | No | 파일당 본문 발췌 길이 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| files | Yes | ||
| stage | Yes | 문서 분석 워크플로에서 지금 위치한 단계 | |
| status | Yes | 이 호출의 결과 상태 | |
| truncated | Yes | limit_files 상한에 걸려 일부만 담았으면 True | |
| file_count | Yes | ||
| next_actions | No | 이어서 호출하면 좋은 도구 목록 | |
| content_notice | Yes |