import_component_set_by_key
Import a library component set into the current Figma file by its componentSetKey, with optional renaming of the main set.
Instructions
Import a library component set into the current file using its componentSetKey. Optionally rename the imported main component set.
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": {
"componentSetKey": "<componentSetKey>"
},
"name": "import_component_set_by_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the imported main component set. | |
| componentSetKey | Yes |