create_component_from_node
Convert any Figma node into a reusable component by providing its node ID. Optionally name the component and specify a parent page.
Instructions
Convert an existing node (frame, group, etc.) into a reusable component in Figma
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": "create_component_from_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to convert into a component | |
| name | No | Optional new name for the component | |
| parentId | No | Parent node ID. REQUIRED — server enforces this. Use page node ID for top-level elements. Get page IDs via get_pages tool. |