Skip to main content
Glama

Vertex AI MCP Server

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

NameRequiredDescriptionDefault
pathYesThe root path for the directory tree (relative to the workspace directory).

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "path": { "description": "The root path for the directory tree (relative to the workspace directory).", "type": "string" } }, "required": [ "path" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shariqriazz/vertex-ai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server