inspect_screen
Capture Pyxel game screen as a compact color index grid for programmatic visual verification and comparison.
Instructions
Capture screen as a compact color index grid.
Returns the screen contents as a 2D array of Pyxel palette indices (0-15). Much smaller than a screenshot image and enables programmatic comparison. Each row is a string of hex digits (0-f).
Args: script_path: Absolute path to the .py script to run. frames: Frame number to capture (default: 5). timeout: Maximum seconds to wait for the script (default: 10).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_path | Yes | ||
| frames | No | ||
| timeout | No |