findFiles
Find files by name or glob pattern in the workspace, respecting .gitignore. Optionally limit search to a subdirectory.
Instructions
Find files by name/glob pattern in the workspace. Respects .gitignore.
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": "findFiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Glob pattern (e.g. '*.config.ts', 'README*') | |
| directory | No | Subdirectory to search in (relative to workspace) |