read_directory_context
Recursively reads code files from a directory to build full project context, with size, file, and depth limits that prevent context overflow.
Instructions
디렉토리의 모든 코드 파일을 재귀적으로 읽어 전체 컨텍스트를 제공합니다. 컨텍스트 초과 방지 기능 포함.
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": {
"directory_path": "<directory_path>"
},
"name": "read_directory_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | 최대 탐색 깊이 (기본값: 10) | |
| max_files | No | 최대 파일 수 (기본값: 50) | |
| max_file_size | No | 최대 파일 크기 (bytes, 기본값: 50KB) | |
| directory_path | Yes | 읽을 디렉토리 경로 (절대경로 또는 상대경로) | |
| max_total_size | No | 최대 총 컨텍스트 크기 (bytes, 기본값: 500KB) | |
| include_extensions | No | 포함할 파일 확장자 목록 (기본값: 일반적인 코드 파일) | |
| prioritize_important | No | 중요한 파일 우선 순위 (기본값: true) |