get_directory_tree
Generate a JSON-structured tree view of files and directories within the workspace filesystem. Specify a root path to visualize project directory hierarchy, including details like 'name', 'type', and nested 'children'.
Instructions
Get a recursive tree view of files and directories within the workspace filesystem as a JSON structure. Each entry includes 'name', 'type' (file/directory), and 'children' (an array) for directories. Files have no 'children' array. The output is formatted JSON text. Useful for understanding the complete structure of a project directory.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | The root path for the directory tree (relative to the workspace directory). |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Vertex AI MCP Server
- answer_query_direct
- answer_query_websearch
- create_directory
- edit_file_content
- explain_topic_with_docs
- generate_project_guidelines
- get_directory_tree
- get_doc_snippets
- get_filesystem_info
- list_directory_contents
- move_file_or_directory
- read_file_content
- read_multiple_files_content
- save_answer_query_direct
- save_answer_query_websearch
- save_doc_snippet
- save_generate_project_guidelines
- save_topic_explanation
- search_filesystem
- write_file_content
Related Tools
- @skydeckai/mcp-server-aidd
- @owayo/mcp-src-tree
- @ryanjoachim/mcp-rtfm
- @jurasofish/mcpunk
- @andredezzy/deep-directory-tree-mcp