search_in_path
Find files in a specific directory using patterns like *.txt, with options for recursive search and result limits. Narrow your search scope to a folder for faster results than full scans.
Instructions
Search for files within a specific directory. Use this to limit search scope to a particular folder. Much faster than recursive directory scans.
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>",
"pattern": "<pattern>"
},
"name": "search_in_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to search in | |
| pattern | Yes | Search pattern (e.g., "*.txt", "config*") | |
| recursive | No | Include subdirectories (default: true) | |
| maxResults | No | Maximum number of results to return (default: 50) |