ppt_modify_text
Modify text content and formatting in PowerPoint slides while preserving original rich-text typography. Adjust font size using absolute, relative, or scaled values with optional bounds.
Instructions
Update text content and formatting in a text frame. Supports replacing full text or individual runs while strictly preserving surrounding rich-text typography (font, size, colors, weights). Supports absolute font sizing, relative deltas (font_size_delta), scaling (font_size_scale), and bounds (min_font_size, max_font_size).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| text | No | ||
| color | No | ||
| italic | No | ||
| max_pt | No | ||
| min_pt | No | ||
| margins | No | ||
| shape_id | Yes | ||
| alignment | No | ||
| color_rgb | No | ||
| font_name | No | ||
| font_size | No | ||
| run_index | No | ||
| underline | No | ||
| font_family | No | ||
| space_after | No | ||
| font_size_pt | No | ||
| line_spacing | No | ||
| slide_number | Yes | ||
| space_before | No | ||
| max_font_size | No | ||
| min_font_size | No | ||
| font_size_delta | No | ||
| font_size_scale | No | ||
| paragraph_index | No | ||
| paragraph_spacing | No | ||
| presentation_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |