add_shape_to_slide
Insert shapes (rectangle, oval, triangle) into a PowerPoint slide, with custom text, fill color, and positioning.
Instructions
Add a shape (rectangle, oval, triangle) to a PPTX slide
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text inside shape | |
| file_path | Yes | Absolute path to the .pptx file | |
| fill_color | No | Fill color hex (e.g. '#FF0000') | |
| shape_type | No | Shape: rectangle, oval, rounded_rectangle, triangle | rectangle |
| top_inches | No | Top position in inches | |
| left_inches | No | Left position in inches | |
| output_path | No | Save to different path | |
| slide_index | Yes | Slide index (0-based) | |
| width_inches | No | Width in inches | |
| height_inches | No | Height in inches |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |