replace_image
Replace an image on a Keynote slide by providing the slide index, image index, and file path to the new image.
Instructions
Replaces an existing image on a slide with a new image file
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": {
"slideIndex": "<slideIndex>",
"imageIndex": "<imageIndex>",
"filePath": "<filePath>"
},
"name": "replace_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute POSIX path to the replacement image file | |
| imageIndex | Yes | 1-based image index | |
| slideIndex | Yes | 1-based slide index |