grep_app
Search repository code for patterns, functions, or classes using filters like language, path, regex, and case sensitivity. Get targeted results with whole-word or exact matching.
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": {
"query": "<query>"
},
"name": "grep_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | 파일 경로 필터 (예: src/, *.config.js) | |
| query | Yes | 검색 쿼리 (코드 패턴, 함수명, 클래스명 등) | |
| regex | No | 정규식 사용 (기본: false) | |
| language | No | 프로그래밍 언어 필터 (예: TypeScript, Python, Go) | |
| repository | No | 특정 레포지토리 필터 (예: facebook/react) | |
| whole_word | No | 전체 단어 매칭 (기본: false) | |
| max_results | No | 최대 결과 수 (기본: 25, 최대: 100) | |
| case_sensitive | No | 대소문자 구분 (기본: false) |