Render Page to Image
render_page_to_imageRenders a slide or any page, including notes pages, to image content for inspecting layout and visuals.
Instructions
Render a slide (or any page, including notes pages) to an image and return it as image content, for looking at a slide's layout and visuals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image width. One of "SMALL" (200px), "MEDIUM" (800px), "LARGE" (1600px) or "WIDTH2000_PX" (2000px). Defaults to "MEDIUM". Start at MEDIUM: it reads titles and body text. Use LARGE for small text such as tables, chart labels and footnotes. WIDTH2000_PX rarely reads more than LARGE. SMALL shows layout only; its text is unreadable. Token cost and the resolution the model sees depend on the model: Claude models with high-resolution vision read MEDIUM at ~460 image tokens, LARGE at ~1,850 and WIDTH2000_PX at ~2,900, while other models may downscale LARGE and WIDTH2000_PX and count tokens differently. | MEDIUM |
| page_object_id | Yes | The object ID of the page/slide to render. | |
| presentation_id | Yes | The ID of the presentation. | |
| user_google_email | Yes | The user's Google email address. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |