search_file_content
Search files for specific content using text or regex queries, with options to filter by file pattern and limit matches.
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": {
"path": "<path>",
"query": "<query>"
},
"name": "search_file_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | Yes | ||
| is_regex | No | ||
| base_path | No | . | |
| max_matches | No | ||
| file_pattern | No | * | |
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||