File Tree

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

Surfaces
webapps-script-web
Degraded on
SurfaceNote
meet-stageNested toggle states and hover highlights are completely unavailable.
googlechatFlattens to a plain text bulleted list using indentation characters.
emailDynamic expanding or collapsing of directory nodes is non-functional.
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",
    "apps-script-web"
  ],
  "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 Try it live →
Deploy your own renderer

The renderer is open source. 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 apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →