export_png
Exports the active sprite or a specific frame to a PNG file on disk, with optional scaling.
Instructions
Exports the active sprite or frame to a PNG image file on disk.
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": {
"outputPath": "<outputPath>"
},
"name": "export_png"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Nearest-neighbor export scale factor | |
| outputPath | Yes | Target .png file path | |
| frameNumber | No | Specific frame number to export |