create_rectangle
Create styled rectangles in Figma, including glassmorphism effects with customizable fill, stroke, shadow, and blur parameters.
Instructions
Create a styled rectangle. Full glassmorphism support.
Glassmorphism recipe:
hexColor='#FFFFFF', fillOpacity=0.08, cornerRadius=16,
stroke='#FFFFFF', strokeOpacity=0.15, strokeWidth=1,
backgroundBlur=20,
shadow={color:'#000',x:0,y:8,blur:32,spread:0,opacity:0.4}
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": "create_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| blur | No | ||
| name | No | Rectangle | |
| width | No | ||
| height | No | ||
| noFill | No | ||
| shadow | No | ||
| stroke | No | ||
| opacity | No | ||
| gradient | No | ||
| hexColor | No | #FF0000 | |
| fillOpacity | No | ||
| innerShadow | No | ||
| strokeWidth | No | ||
| cornerRadius | No | ||
| strokeOpacity | No | ||
| backgroundBlur | No |