figma_get_animations
Read a Figma node's Motion animations, including animation styles, keyframe tracks, timelines, easing equivalents, and token bindings, with optional animated descendants.
Instructions
Read a node's Motion animations: applied animation styles (Figma presets and custom styles, with their entries), manual keyframe tracks, timelines and the playhead. Easing comes back with a CSS equivalent (cubic-bezier) where one exists, and token bindings come back as EASING/TIMING variable references. Set includeDescendants to also list animated layers inside it. Requires Desktop Bridge and Figma Desktop with the Motion API (beta).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_get_animations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max descendants to return | |
| nodeId | No | Node to read. Defaults to the current selection | |
| fileKey | No | Local Mode only. Run against this specific connected file instead of the active file. Get connected fileKeys from figma_list_open_files. Rejected in Cloud Mode, which pairs with a single plugin instance. | |
| includeDescendants | No | Also return animated layers inside the node |