GSAP Animation Presets
gsap_presetGenerates ready-to-use GSAP code for common animation patterns including fadeIn, slideUp, and parallax. Ideal for standard animation needs.
Instructions
Generate ready-to-use code for common animation patterns (fadeIn, slideUp, bounceIn, staggerReveal, parallax, etc.). Use when the animation matches a standard pattern. For custom animations with specific properties use gsap_tween instead.
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": {
"type": "<type>"
},
"name": "gsap_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| target | No | .element | |
| options | No | ||
| includeImports | No |