Add animation to project
spine_add_animationAdds one Spine 4.3 JSON animation to a .spine project. Use dry-run to validate against the skeleton; apply backs up, imports only that animation, re-exports, verifies, and rolls back on mismatch.
Instructions
Adds one Spine 4.3 JSON animation to a .spine project. Dry-run validates against the skeleton; apply backs up, imports only this animation through the CLI, re-exports, verifies and rolls back on any mismatch. Existing names need replace; prefer a new name. Times in seconds; rotate uses value; bezier curve is absolute [cx1,cy1,cx2,cy2] per channel.
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": {
"project": "<project>",
"name": "<name>",
"animation": "<animation>"
},
"name": "spine_add_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| apply | No | ||
| editor | No | ||
| project | Yes | .spine project | |
| replace | No | ||
| skeleton | No | ||
| animation | Yes | ||
| stagingPath | No | ||
| allowUpgrade | No | Write an older-version project | |
| loopAnimations | No |