fs_search
Find text patterns in files under a specified directory. Filter results by file pattern such as *.ts.
Instructions
grep -rn for a pattern in a directory.
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": {
"id": "<id>",
"pattern": "<pattern>"
},
"name": "fs_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| path | No | /workspace | |
| pattern | Yes | ||
| file_pattern | No | e.g. *.ts |