export_slide_to_image
Export a slide from a Keynote presentation to an image file in PNG or JPEG format, using the slide index and output path.
Instructions
Exports a single slide as an image file. Exports all slides to a temporary directory, then copies the specific slide image to the target path.
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>",
"filePath": "<filePath>"
},
"name": "export_slide_to_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format: PNG or JPEG (default: PNG) | PNG |
| filePath | Yes | Absolute POSIX path for the output image file | |
| slideIndex | Yes | 1-based slide index |