create_shape
Add shapes like rectangles, ellipses, text, and notes to a canvas by specifying type, position, dimensions, and styling options.
Instructions
Create a shape on the canvas (rectangle, ellipse, text, note, etc.)
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": {
"type": "<type>",
"x": "<x>",
"y": "<y>"
},
"name": "create_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Shape type | |
| x | Yes | X coordinate | |
| y | Yes | Y coordinate | |
| width | No | Width | |
| height | No | Height | |
| text | No | Text content | |
| geo | No | Geo shape type | rectangle |
| color | No | Color | black |
| fill | No | Fill style | none |