cavalry_keyframe
Set a keyframe on a specified layer attribute at a chosen frame to control animation timing.
Instructions
Set a keyframe on a layer attribute at a specific frame.
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>",
"frame": "<frame>",
"attributes": "<attributes>"
},
"name": "cavalry_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | The frame number | |
| layerId | Yes | The layer ID | |
| attributes | Yes | Key-value map of attribute paths to values at this frame, e.g. {"position.x": 0} |