get_layer_pixels
Reads non-empty pixels from a 2D layer, optionally limited to a bounding rectangle, so agents can inspect sprite content before editing or verifying artwork.
Instructions
Read non-empty pixels from a 2D layer (optionally within a bounding rectangle).
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": "get_layer_pixels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| width | No | ||
| height | No | ||
| layerIndex | No |