fs_search
Search text files recursively under an allowed directory and return matching lines. Supports regex, file extensions, case sensitivity, and result limits.
Instructions
Search text files recursively under an allowed directory and return matching lines.
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": "fs_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| agent | No | Optional existing runtime binding for monitor attribution; no extra handshake. | |
| query | Yes | ||
| regex | No | ||
| extensions | No | ||
| maxResults | No | ||
| caseSensitive | No |