Open the full SpriteForge editor
open_full_editorOpens a sprite in SpriteForge's full pixel editor - layers, selection and move, line/rectangle/ellipse, mirror painting, brush sizes, animation frames with onion skin and playback, palette tools - as an interactive card where the app shows them, and returns an edit link that opens the same editor in a browser. One source at most: session_id (an edit session that's already open, or an edit link), png_base64 (an existing PNG), art (palette + index grid), or none for a blank width x height canvas. Max 128x128 pixels and 256 colours. The user's edits save to the edit session.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_full_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| art | No | 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. | |
| name | No | Sprite name, used as the download filename (letters, digits, _ and -). | |
| width | No | Blank canvas width in pixels (default 32). | |
| height | No | Blank canvas height in pixels (default 32). | |
| palette | No | Starting palette for a blank canvas, as hex colours. | |
| png_base64 | No | A PNG file, base64-encoded (a data: URL prefix is fine). Pixels under 50% alpha become transparent. | |
| session_id | No | An edit session that's already open, or an edit link containing ?s=<id>. |