set_keyframe
Add a keyframe to a parameter at a specified frame to define its value and optional slope or acceleration for animation.
Instructions
Set a single keyframe on a parameter.
Args: node_path: Node path. parm_name: Parameter name. frame: Frame number. value: Value at this keyframe. slope: Tangent slope. accel: Acceleration.
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_path": "<node_path>",
"parm_name": "<parm_name>",
"frame": "<frame>",
"value": "<value>"
},
"name": "set_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accel | No | ||
| frame | Yes | ||
| slope | No | ||
| value | Yes | ||
| node_path | Yes | ||
| parm_name | Yes |