css_computed_style
Get computed CSS styles for any element via a CSS selector, with optional property filtering to target specific style values for debugging.
Instructions
Get computed CSS styles for an element. Optionally filter to specific properties.
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": "css_computed_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for the element (e.g. .header, #main, button) | |
| properties | No | Specific properties to return (e.g. ['color', 'font-size', 'margin']). Omit for all. |