render_scene
Render a sketch scene to PNG to check proportions, overlaps, and readability. Writes a file and supports tiled or region views for close inspection.
Instructions
A PNG of the scene as it actually renders, so you can look at what you drew. Use it to check your own work - proportions, overlaps, whether the thing reads as the thing. Always written to a file as well as returned. A tall or wide page (long edge more than about twice the short one, and too big to fit at the asked size) comes back as a few tiles cut along its length, each with the scene box it shows, so a whole board is readable in one call; a region renders just that box, which is the way to look closely at one part. When an image is too big to travel inline you get a downscaled preview plus the file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Render only these elements. | |
| scale | No | Pixel density, 1-3. Default 1. | |
| scene | Yes | Scene id, exact name, or a unique part of the name. Use list_scenes if unsure. | |
| tiles | No | Split the picture into this many tiles along its long axis (max 8). Default: chosen from the shape of the scene, 1 for anything roughly square. Pass 1 to force a single image. | |
| region | No | Render only what overlaps this box, in scene coordinates. Take the numbers from describe_scene's `bounds`. | |
| maxWidth | No | Cap the long edge in pixels. Default 1400. Above ~1200 the result is a file path instead of an inline image. | |
| transparent | No | Leave the paper out of the PNG (alpha background). For dropping a sketch onto a slide or a page. |