create_component_from_node
Convert any Figma frame or node into a reusable component using its node ID. Only works for nodes that are not already components or inside a component.
Instructions
Convert an existing Figma frame/node into a reusable Component. The node cannot already be a component or be inside a component.
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 to a Component |