list_files
List files in a project by specifying a project name, optional glob pattern, file extensions, and maximum directory depth. Returns a list of file paths for streamlined codebase access.
Instructions
List files in a project.
Args:
project: Project name
pattern: Optional glob pattern (e.g., "**/*.py")
max_depth: Maximum directory depth
extensions: List of file extensions to include (without dot)
Returns:
List of file paths
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>"
},
"name": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extensions | No | ||
| max_depth | No | ||
| pattern | No | ||
| project | Yes |