resize_element
Adjust dimensions of text, images, shapes, or tables on specific slides in Keynote presentations by specifying new width and height values.
Instructions
Resize an element on a slide
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>",
"element_type": "<element_type>",
"element_index": "<element_index>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slide_number | Yes | Slide number | |
| element_type | Yes | Element type: text, image, shape, or table | |
| element_index | Yes | Element index (1-based) | |
| width | Yes | New width in pixels | |
| height | Yes | New height in pixels | |
| doc_name | No | Document name (optional, defaults to front document) |