read_pixels
Read pixels from one cel as a character-grid palette map, using '.' for transparency, so AI agents can inspect pixel art before drawing or editing.
Instructions
Read pixels of one cel as a character grid with a palette, in the same format draw_pixels takes. '.' is transparent. At most 16384 pixels per call.
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": "read_pixels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| frame | No | Frame index, from 0. Defaults to the current frame | |
| layer | No | Layer index, 0 is the bottom layer. Defaults to the current layer | |
| width | No | ||
| height | No |