svg_mask_animation
Animate SVG elements by applying a mask path to reveal or hide content. Specify a target element and mask path for scalable vector animations.
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": {
"target": "<target>",
"maskPath": "<maskPath>"
},
"name": "svg_mask_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | 目标元素选择器 | |
| duration | No | ||
| maskPath | Yes | 遮罩路径 | |
| direction | No | reveal |