add_shape
Add geometric shapes to any slide with full control over position, size, and styling. Supports rectangles, circles, triangles, and more.
Instructions
Add a shape to a slide (rectangle, circle, triangle, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | Height in inches | |
| w | Yes | Width in inches | |
| x | Yes | X position in inches | |
| y | Yes | Y position in inches | |
| fill | No | Fill color (hex format) | |
| line | No | Line color (hex format) | |
| shape | Yes | Shape type (e.g., 'rect', 'ellipse', 'roundRect', 'triangle') | |
| lineSize | No | Line thickness in points | |
| slideNumber | Yes | Slide number (1-based index) | |
| presentationId | Yes | The ID of the presentation |