insert_keyframe
Add a keyframe to a Blender object property at a chosen frame, optionally setting its value first, to animate location, rotation, scale, or indexed channels.
Instructions
Insert a keyframe on an object property at a specific frame.
Args: object_name: Name of the object. data_path: Property to keyframe. Must be one of: location, rotation_euler, rotation_quaternion, scale, or indexed variants like location[0]. frame: Frame number to insert the keyframe at. value: Optional value to set before inserting the keyframe: a number for an indexed path like location[2], a list for a whole vector.
Returns: Confirmation dict with keyframe details.
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": {
"object_name": "<object_name>",
"data_path": "<data_path>",
"frame": "<frame>"
},
"name": "insert_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | ||
| value | No | ||
| data_path | Yes | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||