pencil2d_create_spritesheet
Pack animation frames from a Pencil2D project into a single spritesheet image with grid metadata for efficient sprite animation workflows.
Instructions
Pack animation frames from a Pencil2D project into a single spritesheet image with grid metadata.
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": {
"project_path": "<project_path>",
"output_image": "<output_image>"
},
"name": "pencil2d_create_spritesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | No | Number of columns in spritesheet grid (default: horizontal strip). | |
| layer_name | No | Layer to pack into spritesheet (default: first bitmap layer). | |
| output_image | Yes | Destination PNG path for the spritesheet. | |
| project_path | Yes | Path to the .pclx file. |