add_shape
Add a rectangle shape to a Keynote slide with customizable position, size, and transparency for visual enhancement.
Instructions
Create a rectangle shape with optional position, size, and opacity
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_number": "<slide_number>"
},
"name": "add_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slide_number | Yes | Slide number | |
| x | No | X coordinate in pixels (optional) | |
| y | No | Y coordinate in pixels (optional) | |
| width | No | Width in pixels (optional, default 200) | |
| height | No | Height in pixels (optional, default 200) | |
| opacity | No | Opacity value 0-100 (optional, default 100) | |
| doc_name | No | Document name (optional, defaults to front document) |