Save the editor card's sprite
save_artSaves the user's edits from the SpriteForge editor card to its edit session. Only the card calls it.
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": {
"session_id": "<session_id>",
"art": "<art>"
},
"name": "save_art"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| art | Yes | Pixel art in SpriteForge's format: palette = hex colours, grid = rows of palette indexes (-1 = transparent). Optional frames for an animation, each { grid } on the same palette. | |
| session_id | Yes |