figma_create_rectangle
figma_create_rectangleCreate a rectangle on the current Figma page or within a registered screen by specifying position, size, fill color, corner radius, and optional parent.
Instructions
Create a rectangle on the current page or inside a registered screen.
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": "figma_create_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| width | No | ||
| height | No | ||
| parentId | No | ||
| fillColor | No | ||
| screenKey | No | ||
| cornerRadius | No |