Search local files
search_filesSearch file names or text contents in local directories using ripgrep to pinpoint matching files before accessing larger folder trees.
Instructions
Fast local search using ripgrep. Search file names or text contents before reading large directory trees.
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": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| mode | No | content | |
| root | No | /root | |
| query | Yes | ||
| regex | No | ||
| maxResults | No | ||
| caseSensitive | No | ||
| includeHidden | No |