figma_get_tree
Fetch an enriched Figma node tree with classifications, tokens, and layout info using a Figma URL or node ID to inspect design structure and styles.
Instructions
Fetch enriched Figma node tree with classifications, tokens, and layout info. Pass a Figma URL or nodeId.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_get_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max depth to traverse | |
| nodeId | No | Figma node ID (e.g., '1817:2817'). Auto-extracted from figmaUrl if provided. | |
| figmaUrl | No | Figma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session. | |
| includeStyles | No | Include style/token information |