create_text
Add a text shape to a tldraw .tldr file at specified coordinates. Accepts text content, optional size (s/m/l/xl) and color. Returns the new shape id.
Instructions
Create a text shape on the main page. Returns its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .tldr file | |
| x | Yes | ||
| y | Yes | ||
| text | Yes | ||
| size | No | ||
| color | No |