add_text_item
Add a text box to a Keynote slide with specified position, size, and optional semantic role to automatically apply typography formatting.
Instructions
Adds a new text box to a slide at a specified position and size
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position in points from the left edge | |
| y | Yes | Y position in points from the top edge | |
| role | No | Semantic text role. When provided, auto-applies typography formatting (font, size, bold, color) from the design system type scale | |
| text | Yes | The text content for the new text box | |
| width | Yes | Width of the text box in points | |
| height | Yes | Height of the text box in points | |
| slideIndex | Yes | 1-based slide index | |
| autoPosition | No | When true and x/y/width/height are all at defaults (0, 0, 200, 50), auto-positions the text box using the grid system based on the role |