Open a library sprite in the editor
open_sprite_in_editorOpen a sprite from the user's SpriteForge library in the pixel editor for hand-editing (inline where the app shows interactive cards, otherwise via the returned edit link). Edits save to the edit session, not straight to the library: when the user is done, call save_to_library with the session_id to update the library copy (its previous version is kept in the sprite's history).
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": {
"asset_id": "<asset_id>"
},
"name": "open_sprite_in_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes |