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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
extensions | No | ||
max_depth | No | ||
pattern | No | ||
project | Yes |
Input Schema (JSON Schema)
{
"properties": {
"extensions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Extensions"
},
"max_depth": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Max Depth"
},
"pattern": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Pattern"
},
"project": {
"title": "Project",
"type": "string"
}
},
"required": [
"project"
],
"title": "list_filesArguments",
"type": "object"
}