find_by_name
Search a directory for files and subdirectories by glob pattern, extension, or type across local and Remote-SSH/WSL workspaces.
Instructions
Search for files and subdirectories within a directory by glob pattern, extension, and type (works across Local and Remote-SSH/WSL).
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": {
"SearchDirectory": "<SearchDirectory>"
},
"name": "find_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Type | No | Filter by entry type. | |
| Pattern | No | Optional glob pattern to match file/folder names. | |
| Excludes | No | Optional glob patterns to exclude. | |
| FullPath | No | Match Pattern against relative path rather than basename. | |
| MaxDepth | No | Maximum directory depth to traverse. | |
| Extensions | No | Optional file extensions to include (without leading dot). | |
| SearchDirectory | Yes | The root directory to search within. |