list_project_files
List project files matching a glob pattern, with configurable depth and exclusions, to locate relevant files for analysis.
Instructions
List project files matching pattern, relative to project root.
Args: pattern: Glob pattern (*.py, src/**, etc.) max_depth: Maximum directory depth to search exclude_patterns: Comma-separated patterns to exclude
Returns: [relative_path, ...] sorted alphabetically
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_project_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | *.py | |
| max_depth | No | ||
| exclude_patterns | No | .git,__pycache__,node_modules,.venv,venv |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |