search_text
Find files containing a specific substring by recursively searching a directory, automatically skipping build, venv, and cache folders.
Instructions
Recursively search files under directory for pattern.
Common build/venv/cache directories are skipped automatically.
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": {
"pattern": "<pattern>"
},
"name": "search_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Substring to search for. | |
| directory | No | Root directory to search (default: current directory). | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |