inspect_sprite
Retrieve the active sprite's PNG preview, dimensions, active layer/frame, revision, and pixel matrix in one call for accurate pixel-art editing and analysis.
Instructions
PRIMARY VISION TOOL: Inspects the active sprite. In a single call returns: crisp PNG image content, sprite dimensions, active layer and frame, revision, and compact pixel matrix.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "inspect_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Nearest-neighbor scale multiplier for PNG preview (default 4x) | |
| format | No | Pixel grid format (defaults to compact for token efficiency) | compact |
| frameIndex | No | Frame number (1-indexed) | |
| includePixels | No | Whether to include the structured pixel grid in text response |