Search project file names or glob patterns
search_filesFind files in a project by name substring or safe glob pattern, without reading file contents. Supports limiting results and including directories.
Instructions
Finds files by name substring or safe glob without reading file contents.
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": {
"project": "<project>",
"query": "<query>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | name | |
| path | No | Path relative to the selected project root. Absolute paths are rejected. | . |
| query | Yes | ||
| project | Yes | Project key from list_projects. | |
| maxResults | No | ||
| includeDirectories | No |