Remove motion
clear_animationRemove motion from a design: every layer's (no node_ids) or the given layers', all their properties or only tracks (shape also removes a shape morph's outlines). Layers keep their static look and position. Returns the layers cleared. Saved as a new revision that undo reverts; if any part is refused, nothing changes. Use it to start a layer's motion over before animate; to change one keyframe use edit_keyframes, to redo one property clear its tracks, and to change the length set_timeline.
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": {
"page_id": "<page_id>",
"intent": "<intent>"
},
"name": "clear_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | One short sentence: what you change and why. Kept in the design history. | |
| tracks | No | Only these properties (all motion of the layers when omitted). | |
| page_id | Yes | The page to work on, as returned by create_design. | |
| node_ids | No | The layers to clear. Leave it out to clear every layer. |