save_palette
Export a sprite's palette to .gpl, .pal, or .png files; the file extension determines the saved format.
Instructions
Write the sprite's palette to a file (.gpl, .pal, .png — by extension).
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": "save_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| path | Yes |