svg_filter_animation
Apply SVG filter animations to web elements by setting target, filter type, and end value. Control blur, brightness, contrast, hue-rotate, and saturate with optional start and duration.
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>",
"filterType": "<filterType>",
"toValue": "<toValue>"
},
"name": "svg_filter_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | 目标元素选择器 | |
| toValue | Yes | 结束值 | |
| duration | No | ||
| fromValue | No | 起始值 | |
| filterType | Yes | 滤镜类型 |