run_lua_script
Execute a bounded, trusted Lua script in Aseprite to handle custom automation when dedicated tools cannot cover the task.
Instructions
Run a bounded, trusted Aseprite Lua script as an escape hatch; dedicated tools are preferred.
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": {
"script": "<script>"
},
"name": "run_lua_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| filename | No |