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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slide_index": "<slide_index>"
},
"name": "keynote_add_shape"
}
}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. |