export_png
Export a pixel art animation frame as a PNG file from the Piskel MCP Server. Specify project ID, frame index, and output path to save the image.
Instructions
Export a frame as PNG
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": {
"projectId": "<projectId>",
"outputPath": "<outputPath>"
},
"name": "export_png"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project identifier | |
| frameIndex | No | Frame index (default: 0) | |
| outputPath | Yes | Output file path |