capture_animation
Capture sequential screenshots of CSS animations and transitions to verify timing, behavior, and smoothness across frameworks.
Instructions
Capture multiple frames of a CSS animation or transition over time. Returns sequential screenshots to verify animation behavior, timing, and smoothness.
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": {
"code": "<code>"
},
"name": "capture_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Component code with CSS animations/transitions | |
| framework | No | Framework: html, react, vue, or svelte | react |
| frames | No | Number of frames to capture | |
| duration | No | Total capture duration in ms | |
| width | No | Viewport width (px) | |
| height | No | Viewport height (px) |