Export Slide to Image
export_slide_to_imageExport a PowerPoint slide as PNG, JPG, BMP, or GIF to verify layout after edits—inspect the image for overlapping shapes, text overflow, or visual regressions.
Instructions
Export a slide to an image file for visual verification.
Args: presentation: Presentation name or path (None = active presentation). slide_index: 1-based slide index (required). output_path: Destination file path (required). Extension selects the format: .png, .jpg, .bmp, or .gif. width, height: Output image dimensions in pixels.
Returns: JSON with the exported file's absolute path. A vision-capable assistant can read the image back to check for overlapping shapes, text overflow, or layout regressions after an edit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_slide_to_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| output_path | No | ||
| slide_index | No | ||
| presentation | No |