Render a slide to an image
render_slideConverts a GlideDeck slide or whole canvas to PNG, returning the image to check layout, overflow, and contrast and optionally save it.
Instructions
Renders a slide (1-based step; 0 = the whole canvas) to a PNG and returns it, so you can check layout, overflow and contrast. Optionally also saves it.
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": {
"path": "<path>"
},
"name": "render_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The GlideDeck project file (.glide.json). Absolute, or relative to the server's folder; `.glide.json` is added when there is no extension. | |
| step | No | ||
| width | No | ||
| save_to | No | Optional .png path to also write. |