tree
Lists node IDs, types, and names under a chosen root in a saved .fig file, helping locate pages and frames when their names are unknown.
Instructions
List node ids, types and names under a chosen root. A shallow outline locates pages and frames when their names are unknown; find searches known names or visible text directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | the saved .fig: a local path (absolute recommended), or gs://bucket/object using gcloud; remote sources are unavailable with --root | |
| json | No | nested {id,type,name,children} JSON instead of indented text (about 1.6x larger) | |
| node | No | a stored root id; default the whole document; use inspect for instance sublayers | 0:0 |
| depth | No | levels to list below the root |