MCPunk

list_all_files_in_project

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

NameRequiredDescriptionDefault
limit_depth_from_rootNoLimit 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_filterNoMatch if any of these strings appear. Match all if None/null.
project_nameYes

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.", "title": "Path Filter" }, "project_name": { "title": "Project Name", "type": "string" } }, "required": [ "project_name" ], "title": "list_all_files_in_projectArguments", "type": "object" }