list_all_files_in_project
Generate a file tree of all files in a project or specific subdirectories. Use depth limits and filters to efficiently inspect project structure and navigate large codebases.
Instructions
List all files in a project, returning a file tree.
This is useful for getting an overview of the project, or specific subdirectories of the project.
A project may have many files, so you are suggested to start with a depth limit to get an overview, and then continue increasing the depth limit with a filter to look at specific subdirectories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit_depth_from_root | No | Limit the depth of the search to this many directories from the root. Typically,start with 1 to get an overview of the project.If None, search all directories from the root. | |
path_filter | No | Match if any of these strings appear. Match all if None/null. Single empty string or empty list will match all. | |
project_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"limit_depth_from_root": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Limit the depth of the search to this many directories from the root. Typically,start with 1 to get an overview of the project.If None, search all directories from the root.",
"title": "Limit Depth From Root"
},
"path_filter": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Match if any of these strings appear. Match all if None/null. Single empty string or empty list will match all.",
"title": "Path Filter"
},
"project_name": {
"title": "Project Name",
"type": "string"
}
},
"required": [
"project_name"
],
"title": "list_all_files_in_projectArguments",
"type": "object"
}