figma_add_shape_to_slide
Add a rectangle or ellipse to a specific slide with an optional hex fill color to build slide layouts.
Instructions
Add a rectangle or ellipse shape to a specific slide with optional fill color.
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": {
"slideId": "<slideId>",
"shapeType": "<shapeType>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "figma_add_shape_to_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position | |
| y | Yes | Y position | |
| width | Yes | Width in pixels | |
| height | Yes | Height in pixels | |
| slideId | Yes | The node ID of the slide | |
| fillColor | No | Hex color e.g. '#FF5733' | #CCCCCC |
| shapeType | Yes | Shape type |