open_pixel_editor
Open a local web pixel editor to manually adjust character design layers, then re-compose the character before animation.
Instructions
Open the local manual pixel editor for design layers (human edit gate).
Call AFTER compose_character when the user wants to edit pixels by hand. Opens a small localhost web UI (pencil / eyedropper / eraser) for all 10 EXPORT_LAYER_NAMES. Apply writes design/layers/.png only — never base/. After the user clicks Apply, re-run compose_character before plan_animation. Resolves paths via session output_root / output_dir.
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": {
"name": "<name>"
},
"name": "open_pixel_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| port | No | ||
| output_dir | No | ||
| open_browser | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||