create_components_from_node
Convert Figma nodes into reusable components using node IDs, with options for batch processing and error handling. Maintains node positions during conversion.
Instructions
Converts one or more existing nodes into components in Figma.
Returns:
content: Array of objects. Each object contains:
type: "text"
text: JSON string with created component IDs and any errors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_components_from_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | No | An array of node-to-component conversion entries for batch conversion. | |
| entry | No | A single node-to-component conversion entry. | |
| skip_errors | No | If true, skip errors and continue processing remaining entries. |