set_keyframe
Insert keyframes for an object's location, rotation, scale, or custom property at a specified frame to automate animation in Blender.
Instructions
Insert keyframes for an object.
Args: object_name: Target object. frame: Frame number (None = current frame). location: Keyframe location. rotation: Keyframe rotation. scale: Keyframe scale. property_name: Optional custom property to keyframe.
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>"
},
"name": "set_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| scale | No | ||
| location | No | ||
| rotation | No | ||
| object_name | Yes | ||
| property_name | No |