fast_search_files
Search files by name or content with support for regex, context lines, and line numbering. Filters by file pattern, handles large files with auto-chunking, and includes binary files if specified.
Instructions
파일을 검색합니다 (이름/내용) - 자동 청킹, 정규표현식, 컨텍스트, 라인번호 지원
Input Schema
Name | Required | Description | Default |
---|---|---|---|
auto_chunk | No | 자동 청킹 활성화 | |
case_sensitive | No | 대소문자 구분 | |
content_search | No | 파일 내용 검색 | |
context_lines | No | 매치된 라인 주변 컨텍스트 라인 수 | |
continuation_token | No | 이전 호출의 연속 토큰 | |
file_pattern | No | 파일명 필터 패턴 (*.js, *.txt 등) | |
include_binary | No | 바이너리 파일 포함 여부 | |
max_results | No | 최대 결과 수 | |
path | Yes | 검색할 디렉토리 | |
pattern | Yes | 검색 패턴 (정규표현식 지원) |
Input Schema (JSON Schema)
{
"properties": {
"auto_chunk": {
"default": true,
"description": "자동 청킹 활성화",
"type": "boolean"
},
"case_sensitive": {
"default": false,
"description": "대소문자 구분",
"type": "boolean"
},
"content_search": {
"default": false,
"description": "파일 내용 검색",
"type": "boolean"
},
"context_lines": {
"default": 0,
"description": "매치된 라인 주변 컨텍스트 라인 수",
"type": "number"
},
"continuation_token": {
"description": "이전 호출의 연속 토큰",
"type": "string"
},
"file_pattern": {
"default": "",
"description": "파일명 필터 패턴 (*.js, *.txt 등)",
"type": "string"
},
"include_binary": {
"default": false,
"description": "바이너리 파일 포함 여부",
"type": "boolean"
},
"max_results": {
"default": 100,
"description": "최대 결과 수",
"type": "number"
},
"path": {
"description": "검색할 디렉토리",
"type": "string"
},
"pattern": {
"description": "검색 패턴 (정규표현식 지원)",
"type": "string"
}
},
"required": [
"path",
"pattern"
],
"type": "object"
}