Create a design component
design.create_componentCreate reusable components or symbols in Figma or Adobe XD by specifying name, dimensions, fill, and text through the active host adapter.
Instructions
Create a component or symbol through the active host adapter.
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": {
"name": "<name>"
},
"name": "design.create_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | ||
| host | No | ||
| kind | No | component | |
| name | Yes | ||
| text | No | ||
| width | No | ||
| height | No |