slides_set_text
Replace any slide shape's text with styling in one call, no character-index math needed. Target a placeholder via shape ID or create a new textbox.
Instructions
RECOMMENDED way to set/style a title, subtitle, body, or textbox: replaces the shape's text and styles it in one call, no character-index math needed. Pass shape_id from slides_list_elements to target a specific placeholder; omit it to create a new textbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| text | Yes | ||
| color | No | ||
| italic | No | ||
| shape_id | No | ||
| slide_id | Yes | ||
| alignment | No | ||
| font_size | No | ||
| bullet_preset | No | ||
| presentation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |