insert_keyframe
Insert a keyframe at a specified frame for object properties like location, rotation, scale, or custom data, with optional interpolation settings.
Instructions
Set an optional property value and insert a keyframe, then set its interpolation. Data paths include location, rotation_euler, scale, and custom properties.
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 | ||
| index | No | ||
| value | No | ||
| data_path | Yes | ||
| object_name | Yes | ||
| interpolation | No | BEZIER |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||