get_figma_context
Extract design context from Figma files as CSS-like properties for layout, styles, text, and dimensions to facilitate design-to-code workflows.
Instructions
Extract design context (layout, styles, text, dimensions) from a Figma URL as CSS-like properties
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"figmaUrl": "<figmaUrl>"
},
"name": "get_figma_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figmaUrl | Yes | Figma design URL (supports /design/, /file/, /proto/, /board/) | |
| depth | No | Maximum depth to traverse the node tree (default: 3) |