Get a sprite from a SpriteForge edit session
get_spriteReturns the current state of a SpriteForge edit session: a preview image, its size and palette, how many edits were saved, and a PNG URL with the exact pixels at 1x (add &frame=N for another frame). With include_pixels it also returns the palette-index grid. Read-only.
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>"
},
"name": "get_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | An edit session's id (the s= value of an edit link), or the edit link itself. | |
| include_pixels | No | Also return the palette and index grid (default false). |