aseprite_run_lua
Execute Lua scripts in Aseprite headless to automate custom pixel-art workflows and extend asset generation.
Instructions
Execute arbitrary Lua script inside Aseprite headless environment for advanced custom workflows.
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": {
"code": "<code>"
},
"name": "aseprite_run_lua"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Lua script content to execute | |
| params | No | Parameters accessible via app.params |