Set Keyframe
animation.set_keyframeSet keyframes on a node's attributes at the current or specified time, with customizable tangent types for animation control.
Instructions
Set keyframe on attribute(s) at current or specified time.
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": {
"node": "<node>"
},
"name": "animation.set_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Name of the node to keyframe | |
| time | No | Time/frame to set keyframe at (None = current time) | |
| value | No | Value to set (None = current value) | |
| attributes | No | Attribute names to keyframe (None = all keyable) | |
| in_tangent_type | No | In-tangent type: auto, linear, flat, step, stepnext, spline, clamped, plateau, fast, slow | auto |
| out_tangent_type | No | Out-tangent type: auto, linear, flat, step, stepnext, spline, clamped, plateau, fast, slow | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| time | Yes | ||
| errors | Yes | ||
| attributes | Yes | ||
| keyframe_count | Yes |