art.aseprite.validate
Generate an Aseprite Lua script and command to validate sprite palette size and dimensions. Writes the script to disk and returns the command.
Instructions
Generate a validation Lua script and Aseprite command to check sprite constraints (palette size, dimensions). Writes the script to disk and returns the command.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"max_colors": "<max_colors>",
"width": "<width>",
"height": "<height>"
},
"name": "art.aseprite.validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Expected sprite width in pixels | |
| height | Yes | Expected sprite height in pixels | |
| max_colors | Yes | Maximum allowed palette colors | |
| session_id | Yes | Canvas session ID |