Skip to content
Get an API key

The shape item type.

Updated 16 Sep 20261 min read

Send "type": "shape". A primitive the editor draws; it has no MCP tool.

Fields

data
shapeenum<string>required

One of rectangle, rounded_rectangle, ellipse or circle.

textstring
fillstring
strokestring
textColorstring
radiusinteger

Example

{
  "type": "shape",
  "data": {
    "shape": "rectangle",
    "text": "Interview 5 users",
    "fill": "string",
    "stroke": "string",
    "textColor": "Interview 5 users",
    "radius": 0
  }
}
Was this page helpful?

Sign in to MockFlow

The same account you use in the app and on the API.

Forgot your password?
or
Continue with GoogleContinue with Microsoft