compose
Combine multiple sprites into one scene by placing each at specific x,y coordinates on a canvas.
Instructions
Compose multiple sprites into a single scene. Place sprites at specific x,y positions on a canvas.
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": {
"layers": "<layers>",
"width": "<width>",
"height": "<height>"
},
"name": "compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor (default 4) | |
| width | Yes | Canvas width in pixels | |
| height | Yes | Canvas height in pixels | |
| layers | Yes | Layers to compose (back to front) | |
| palette | No | Palette ID (default "pico8") |