blender_edit_animation
Edit animation data by inserting, modifying, or deleting keyframes, managing NLA strips, setting drivers, and controlling shape keys and timeline settings.
Instructions
Edit animation data — insert/modify/delete keyframes, manage NLA strips, set drivers, control shape keys, and configure timeline settings.
Use this when: you need to create or modify animation.
Do NOT use for: reading animation data (use blender_get_animation_data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The animation operation to perform. | |
| object_name | No | Target object name. | |
| data_path | No | Property path for keyframe/driver (e.g. 'location', 'rotation_euler', 'scale'). | |
| index | No | Array index for the property (-1 for all channels, 0/1/2 for X/Y/Z). | |
| frame | No | Frame number for keyframe operations. | |
| value | No | Value for keyframe or shape key (number, array, or boolean). | |
| interpolation | No | Keyframe interpolation type. | |
| nla_action | No | Action name for NLA strip operations. | |
| nla_start_frame | No | Start frame for NLA strip. | |
| nla_strip_name | No | NLA strip name for modify/remove. | |
| driver_expression | No | Python expression for driver. | |
| shape_key_name | No | Shape key name for set_shape_key. | |
| fps | No | Frames per second (for set_frame_range). | |
| frame_start | No | Start frame (for set_frame_range or set_frame). | |
| frame_end | No | End frame (for set_frame_range). |