keynote_add_shape
Insert a rectangle or oval onto a slide. Optionally set its fill color.
Instructions
Add a new shape (rectangle or oval) to a slide. Optionally set a fill color.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_index | No | Document index (0-based). Defaults to 0 (frontmost). | |
| slide_index | Yes | Slide index (0-based). | |
| x | No | X position in points. | |
| y | No | Y position in points. | |
| width | No | Width in points. | |
| height | No | Height in points. | |
| fill_color | No | Optional fill color [r, g, b] 0–255. |