animation_getKeyframes
Retrieve keyframe data for a layer's animation channel by specifying layer ID and channel name like translation, rotation, or scale. Use this to inspect animation timing and values directly.
Instructions
Get keyframe data for a specific animation channel on a layer
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>"
},
"name": "animation_getKeyframes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | The animation channel name (e.g. "translation", "rotation", "scale", "opacity") | |
| layerId | Yes | The numeric ID of the layer |