animation_setInterpolation
Modify the interpolation mode of an existing keyframe, choosing from linear, smooth, ease-in, ease-out, or step, for a specified layer and channel.
Instructions
Set the interpolation/easing mode on an existing keyframe (linear, smooth, ease_in, ease_out, step)
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": {
"layerId": "<layerId>",
"channel": "<channel>",
"frame": "<frame>",
"mode": "<mode>"
},
"name": "animation_setInterpolation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Interpolation mode: "linear", "smooth", "ease_in", "ease_out", or "step" | |
| frame | Yes | The frame number of the keyframe | |
| channel | Yes | The animation channel name (e.g. "translation", "rotation", "scale", "opacity") | |
| layerId | Yes | The numeric ID of the layer |