wait_for_animation
Pump frames for a set duration to advance animations like hero transitions or custom controllers, preventing pumpAndSettle timeouts.
Instructions
Pumps frames for a specified duration without waiting for all animations to settle. Useful for hero transitions, page animations, or custom animation controllers where pumpAndSettle would time out.
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": "wait_for_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_ms | No | Duration in milliseconds to pump frames (default 500). Frames are pumped at ~60fps. |