get_figma_data
Fetch Figma file or node data via the REST API; pass a nodeId to limit results and depth to control recursion, avoiding full-file pulls.
Instructions
Get Figma file data via the REST API. Pass nodeId to fetch only that node (avoids pulling the whole file). depth limits recursion on file/nodes. Returns file (or nodes), plus styles/components/component_sets when no nodeId is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| nodeId | No | ||
| fileKey | Yes |