create_component
Convert any frame into a reusable component to streamline design workflows. Simply provide the frame node ID to replace it with the new component.
Instructions
Convert an existing FRAME node into a reusable COMPONENT. The frame is replaced in place by the new 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 | Optional name for the component. Defaults to the frame's current name. | |
| nodeId | Yes | FRAME node ID to convert, in colon format e.g. '4029:12345' |