swap_instance_component
Swap a Figma instance to a different library component key to update designs when components change or move libraries.
Instructions
Swap an instance to a different library component key.
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": {
"instanceId": "<instanceId>",
"newComponentKey": "<newComponentKey>"
},
"name": "swap_instance_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | Yes | ||
| newComponentKey | Yes |