create_interactive_animation
Creates interactive animations for web elements triggered by user actions such as hover, click, focus, or scroll. Define enter and leave animations with customizable duration.
Instructions
创建交互式动画(悬停、点击等)
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": {
"target": "<target>",
"trigger": "<trigger>",
"enterAnimation": "<enterAnimation>"
},
"name": "create_interactive_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | 目标元素选择器 | |
| trigger | Yes | 触发方式 | |
| duration | No | ||
| enterAnimation | Yes | 进入动画属性 | |
| leaveAnimation | No | 离开动画属性 |