puppet_create_rig
Define a puppet character rig from separate PNG body parts, each positioned and layered for independent animation. Returns a JSON rig summary.
Instructions
Define a puppet character rig from body parts.
Each part is a separate image (PNG) that gets positioned and layered to form a character. Parts can be animated independently.
Args: rig_json: JSON object defining the character: { "name": "my_character", "position": [0, 0], "parts": [ { "name": "head", "image": "/absolute/path/to/head.png", "position": [0, 200], "scale": 1.0, "rotation": 0, "anchor": [0, -50], "z_order": 5 }, ... ] } - position: [x, y] offset from character center (y-positive = up) - anchor: pivot point for rotation - z_order: higher = in front
Returns: JSON summary of the rig (use this to verify before building a scene).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rig_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |