tldraw_create_text
Add text labels to a tldraw canvas, controlling position, content, font, size, color, alignment, and rotation.
Instructions
Create a text shape on the canvas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| w | No | Width | |
| x | Yes | X position on canvas | |
| y | Yes | Y position on canvas | |
| font | No | Font style | draw |
| size | No | Text size | m |
| text | Yes | Text content | |
| color | No | Text color | black |
| scale | No | Text scale | |
| pageId | Yes | Target page ID (e.g. 'page:xxx') | |
| opacity | No | Opacity from 0 to 1 (default 1) | |
| autoSize | No | Auto-size width to fit text | |
| isLocked | No | Whether the shape is locked (default false) | |
| parentId | No | Parent frame or group ID for nesting | |
| rotation | No | Rotation in radians (default 0) | |
| textAlign | No | Text alignment | start |