get_metadata
Retrieve a lightweight tree of a Figma file's nodes (id, name, type, bounds) in XML or JSON format to orient before a deep fetch. Specify URL, file key, node ID, or depth.
Instructions
Lightweight tree of a Figma file/node (id, name, type, bounds) for orientation before a deep fetch. Output as XML (default) or JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full figma.com URL (design/file/proto). node-id query param is honored. | |
| depth | No | Max traversal depth (default: full subtree). | |
| format | No | xml | |
| nodeId | No | Node id, "1:2" or "1-2" form. Overrides node-id in url. | |
| fileKey | No | Figma file key (from the file URL). Provide either fileKey or url. |