optimize_for_performance
Optimize existing GSAP animation code for specific performance targets: 60fps on desktop, mobile smoothness, battery efficiency, or memory. Provide your code and select the goal.
Instructions
Transform any animation into 60fps smoothness with expert optimizations
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": {
"animation_code": "<animation_code>"
},
"name": "optimize_for_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| animation_code | Yes | Existing GSAP animation code to optimize | |
| target | No | Optimization target | 60fps-desktop |