figma_motion_styles
Lists Figma Motion animation styles and local custom styles with IDs for applying them, plus the animation playhead position; fails with MOTION_UNAVAILABLE on unsupported builds.
Instructions
Read-only Motion (Beta) catalogue: Figma animation styles and local custom animation styles, plus the animation playhead position. Every entry carries the id to pass to figma_motion_apply_style. On a Figma build without the Motion API this fails with MOTION_UNAVAILABLE; it does not return an empty catalogue that looks like a file with no styles.
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_motion_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | No | Which connected Figma file to use: its fileKey (figma_whoami) or, when omitted, the only connected file. Required once more than one file is connected; figma_ping lists them. |