spawn_play_screenshot
Screenshot the active play session to visually confirm a pushed update renders correctly. Inspect the image as a player would and catch flat, untextured, or default UI that indicates a missing skill.
Instructions
Screenshot the open play session. Primary visual check after spawn_push — look at the image before calling the change done. Judge it as a player would: if it reads as grey boxes, flat untextured shapes, or default browser UI, that is a missing skill rather than a missing feature — load the relevant craft (spawn_skill ids: drawn-art, custom-materials, looks, game-ui, world-composition) and rewrite that code, since none of it is discoverable from the API reference. Optionally save under the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Also write the image to <project>/.spawn/screenshots/<timestamp>.<ext> | |
| format | No | jpeg (default) is 7-14x smaller on lit/textured 3D scenes (~1.3MB png vs ~90KB jpeg) and reads the same. Prefer png for flat-shaded or pixel-art worlds, where large uniform areas compress better losslessly, or when you need exact pixels. | jpeg |
| quality | No | JPEG quality 1-100 (ignored for png) | |
| fullPage | No | ||
| projectDir | No | Absolute path to the Spawn game project. Defaults to SPAWN_PROJECT_DIR or cwd. |