spawn_play_screenshot
Capture a screenshot of the live play session to verify the game after updates. Inspect the image for placeholder visuals and apply the matching craft skill to fix gaps.
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. |