File Tree

Renders a hierarchical layout displaying directory structures, folders, and individual files for software projects.

Surfaces
webgoogle-apps-script-webmcp-apps
Degraded on
SurfaceNote
google-meet-stageNested toggle states and hover highlights are completely unavailable.
google-chatFlattens to a plain text bulleted list using indentation characters.
emailDynamic expanding or collapsing of directory nodes is non-functional.
Live preview
Fields
FieldType
nodesarray. Highly structured list of folder and file objects with nesting indicators.required
Example payload
{
  "type": "file_tree",
  "nodes": [
    {
      "label": "src/",
      "children": [
        {
          "label": "index.ts"
        }
      ]
    },
    {
      "label": "package.json"
    }
  ]
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:file_tree",
  "displayName": "File Tree",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/file_tree",
  "capabilities": [
    "web",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Renders a hierarchical layout displaying directory structures, folders, and individual files for software projects.",
  "representativeQueries": [
    "show a present hierarchical directory structures and files for software project navigation",
    "renders a hierarchical layout displaying directory structures, folders, and individual files for sof",
    "render a file tree"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →