spine_add_simple_animation
Add a simple rotate, translate, or scale animation timeline to a target bone in a Spine JSON file by directly specifying keyframes.
Instructions
Low-level debug tool for adding one simple rotate, translate, or scale bone timeline to a Spine JSON copy. Use this when you already know the exact targetBone and keyframes you want. It only edits JSON and writes generation.manifest.json. Do not use it for natural-language animation planning, packing, exporting, UI automation, mesh, IK, weights, or direct .spine binary edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyframes | Yes | Timeline keyframes to write to the target bone. | |
| overwrite | No | When false, stop if outputJsonPath exists or animationName already exists. When true, overwrite those generated targets. | |
| targetBone | Yes | Existing bone name that receives the timeline. | |
| animationName | Yes | Animation name to add or overwrite. | |
| animationType | Yes | Simple bone timeline type to write. | |
| outputJsonPath | Yes | Destination JSON file where the modified copy will be written. | |
| sourceJsonPath | Yes | Source Spine JSON file to read. It is preserved unchanged. |