add_keyframe
Keyframe any animatable property of a Blender object by specifying the object, data path, frame, and optional value.
Instructions
Insert an animation keyframe on an object property.
Parameters:
name: Object name
data_path: Property to key — 'location', 'rotation_euler', 'scale', or any animatable path like 'data.energy'
frame: Frame number (uses current frame if omitted)
value: Comma-separated values to set before keying, e.g. "1,2,3" for location. Rotation values are in degrees and converted automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| data_path | No | location | |
| frame | No | ||
| value | No |