Internal
Shape
The shape item type.
Send "type": "shape". A primitive the editor draws; it has no MCP tool.
Fields
shapeenum<string>requiredOne of rectangle, rounded_rectangle, ellipse or circle.
textstringfillstringstrokestringtextColorstringradiusintegerExample
{
"type": "shape",
"data": {
"shape": "rectangle",
"text": "Interview 5 users",
"fill": "string",
"stroke": "string",
"textColor": "Interview 5 users",
"radius": 0
}
}
Was this page helpful?