svg_path_animation
Animate an element along an SVG path by providing element and path selectors. Control start, end, duration, and automatic rotation.
Instructions
SVG路径跟随动画
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": {
"selector": "<selector>",
"pathSelector": "<pathSelector>"
},
"name": "svg_path_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| duration | No | ||
| selector | Yes | 跟随元素选择器 | |
| autoRotate | No | ||
| pathSelector | Yes | 路径元素选择器 |