figma_get_component_for_development
Fetch component data optimized for UI implementation, including a rendered image and filtered specs for layout, typography, and visual properties. Use it for design-to-code and code generation.
Instructions
Get component data optimized for UI implementation, includes rendered image + filtered implementation context (layout, typography, visual properties). Use when user asks to: 'build this component', 'implement this in React/Vue', 'generate code for', or needs both visual reference and technical specs. Automatically includes 2x scale image unless includeImage=false. Best for: UI development, code generation, design-to-code workflows. For just metadata, use figma_get_component; for just image, use figma_get_component_image.
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": {
"nodeId": "<nodeId>"
},
"name": "figma_get_component_for_development"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Component node ID to get data for (e.g., '695:313') | |
| fileUrl | No | Figma file URL (e.g., https://figma.com/design/abc123). REQUIRED unless figma_navigate was already called. | |
| includeImage | No | Include rendered image for visual reference (default: true) |