get_node_by_id
Retrieve detailed information about a specific node in a Figma file using its GUID, including layout, styles, effects, and children up to 10 levels deep.
Instructions
Get detailed information about a specific node by its GUID. Node ID format: 'sessionID:localID' (e.g., '457:1607'). Hyphen format also accepted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | GUID string in format 'sessionID:localID' (e.g., '457:1607') or 'sessionID-localID' | |
| compact | No | Use compact JSON formatting (no indentation) (default: false) | |
| filePath | Yes | Path to the .fig file | |
| maxDepth | No | Maximum depth to traverse children (default: 1, max: 10) | |
| includeLayout | No | Include layout inference (gap, padding, alignment) (default: true) | |
| includeStyles | No | Include style properties (fills, strokes, effects) (default: true) | |
| includeEffects | No | Include effects (shadows, blurs) (default: true) | |
| includeChildren | No | Include child nodes in response (default: true) | |
| includeImageRefs | No | Include image reference metadata (default: true) |