motion_generate_animation
Convert natural-language descriptions into ready-to-use Motion for React animation JSX.
Instructions
Generate a Motion for React animation snippet from a natural-language description. Returns ready-to-use JSX.
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": {
"description": "<description>"
},
"name": "motion_generate_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | Describe the animation you want (e.g., 'fade in from bottom on scroll', 'draggable card with spring', 'staggered list entrance', 'page transition with exit') | |
| elementType | No | HTML element type (default: 'div') |