Ase Draw Line
ase_draw_lineDraw a line on an Aseprite sprite using Bresenham's algorithm, with optional thickness, frame, and layer control.
Instructions
Draw a line (Bresenham, optional thickness).
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": {
"sprite_path": "<sprite_path>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>",
"color": "<color>"
},
"name": "ase_draw_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| color | Yes | ||
| frame | No | ||
| layer | No | ||
| thickness | No | ||
| sprite_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||