Skip to content
Get an API key

The text item type.

Updated 16 Sep 20261 min read

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

Fields

data
textstringrequired
fontSizeinteger

Defaults to 16.

alignenum<string>

One of left, center or right. Defaults to left.

colorstring
boldboolean

Defaults to false.

Example

{
  "type": "text",
  "data": {
    "text": "Interview 5 users",
    "fontSize": 16,
    "align": "left",
    "color": "string",
    "bold": false
  }
}
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