draw_eyes
Redraws a character's eyes frame by frame to animate expressions like gaze direction, blinks, sleepy or angry lids, and smiles with per-frame control.
Instructions
Redraw a character's eyes, frame by frame, to give it an expression:
where it looks, blinks, sleepy or angry lids, a smile. eyes lists each
eye's socket, the area INSIDE its ring, in canvas pixels: {"x": 44, "y": 27.5, "rx": 6.5, "ry": 6.3}, optionally "pupil": [rx, ry] (about half
the socket by default), "look_scale" (0.7 for a far eye in a 3/4 view) and
"inner": "left"|"right" (the side toward the beak or nose, for brows).
Measure sockets with look first. keys, one per frame (frames are made
as needed): {"frame": 1, "look": [dx, dy], "lid": 0..1, "arc": 0..1, "brow": -0.6..0.6, "smile": 0..0.6, "closed": false, "ms": 120}. lid
lowers the upper lid; arc curves it (relaxed, happy); brow > 0 slants
it down toward the inner side (angry, focused), < 0 the other way (worried,
sad); smile pushes up a lower lid; closed shuts the eye. Expression is
easy to misread: when unsure, draw 3-4 options and ask. Colours come from the
eyes already there; pass the returned style back on every sprite of the
same character so all its eyes match. The area round each eye is repainted
in skin colour. One undo step. Headless: pass file.
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": {
"eyes": "<eyes>"
},
"name": "draw_eyes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eyes | Yes | ||
| file | No | ||
| keys | No | ||
| layer | No | ||
| style | No |