Skip to main content
Glama

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
NameRequiredDescriptionDefault
script_pathYes
framesNo
timeoutNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kitao/pyxel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server