read_file_smart
Reads files by automatically returning full contents for short files or line chunks for longer ones, so you can inspect large codebases without manual pagination.
Instructions
파일 크기에 따라 지능적으로 읽기 방식을 결정합니다. 200줄 미만은 전체, 200줄 이상은 자동으로 청크 제공.
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": {
"file_path": "<file_path>"
},
"name": "read_file_smart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | 읽을 파일의 경로 | |
| chunk_number | No | 큰 파일의 경우 읽을 청크 번호 (기본값: 0) | |
| lines_per_chunk | No | 청크당 라인 수 (기본값: 200줄) |