validate_css_selector
Validate CSS selectors by checking syntax, performance, and matching results to ensure correct targeting in animations.
Instructions
验证CSS选择器的语法、性能和匹配结果
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>"
},
"name": "validate_css_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | 要验证的CSS选择器 | |
| suggestions | No | ||
| performanceCheck | No |