create_component
Convert an existing frame or group into a reusable Figma component, enabling consistent reuse of UI elements across designs.
Instructions
Convert an existing frame or group into a reusable Figma 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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Layer name | |
| nodeId | Yes | Figma node ID |