figma_swap_component
figma_swap_componentSwap a Figma instance to a different component by specifying the target component ID, updating designs without manual recreation.
Instructions
Swap an instance to another 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": {
"componentId": "<componentId>"
},
"name": "figma_swap_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ||
| instanceId | No | ||
| componentId | Yes |