create_text_frame
Add a text frame to a specified or active InDesign page, setting text content, position, size, font, color, and alignment.
Instructions
Create a text frame on the specified page (defaults to active page in InDesign UI)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Text content for the frame | |
| x | No | X position in mm | |
| y | No | Y position in mm | |
| width | No | Width in mm | |
| height | No | Height in mm | |
| pageIndex | No | Page index (0-based). Omit to use the active page in InDesign. | |
| fontSize | No | Font size in points | |
| fontName | No | Font name (use format: FontName\tStyle) | Arial\tRegular |
| textColor | No | Text color (RGB hex or name) | Black |
| alignment | No | LEFT | |
| paragraphStyle | No | Paragraph style name to apply during creation | |
| characterStyle | No | Character style name to apply during creation |