css_find_unused
Detect unused CSS selectors by analyzing stylesheets against HTML or JSX content, helping identify dead code for cleanup.
Instructions
Find unused CSS selectors by comparing stylesheets against HTML/JSX content
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": {
"css": "<css>",
"html": "<html>"
},
"name": "css_find_unused"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | CSS stylesheet content to analyze | |
| html | Yes | HTML or JSX content to check selector usage against | |
| api_key | No | API key for authentication |