get_png_data
Retrieve base64-encoded PNG data for a specific layer and frame from a LibreSprite file. Provides image data in a format suitable for direct use or further processing.
Instructions
Return base64-encoded PNG data for one layer/frame's image.
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": {
"path": "<path>"
},
"name": "get_png_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| frame | No | ||
| layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |