Get a slide thumbnail
get_thumbnailRender any slide, layout, or master as a PNG to see its actual appearance. Returns a short-lived image URL or saves locally when output_path is provided.
Instructions
Renders one page (slide, layout or master) as a PNG. Without output_path it returns contentUrl + width/height — the URL is short-lived (~30 minutes) and served from googleusercontent.com. With output_path the PNG is downloaded and saved to that local file instead (the download is restricted to Google's image hosts). size: large (1600px, default), medium (800px) or small (200px). This is the way to SEE what a slide actually looks like — the JSON never shows rendering. Counts as an expensive read in the API quota.
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": {
"presentation_id": "<presentation_id>",
"page_object_id": "<page_object_id>"
},
"name": "get_thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Thumbnail width: large=1600px (default), medium=800px, small=200px. | |
| output_path | No | Local file path to save the PNG to; omitted = return the short-lived contentUrl. | |
| page_object_id | Yes | The slide's object id to render (from list_slides). | |
| presentation_id | Yes | The presentation id — the long id from the URL (docs.google.com/presentation/d/<presentationId>/edit) or from create_presentation output. |