design_set_keyframe
Add or replace a keyframe on a layer property at a specified time to animate properties like opacity, color, or font size in generative art projects.
Instructions
Add or replace a keyframe on a layer property.
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>",
"property": "<property>",
"time": "<time>"
},
"name": "design_set_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time in seconds from animation start. | |
| value | No | Property value at this time (number, string, or boolean). | |
| easing | No | Easing function name or cubic-bezier array. Default "ease-in-out". | |
| layerId | Yes | ID of the layer to animate. | |
| property | Yes | Property key to animate (e.g. "opacity", "color", "fontSize"). |