safari_get_computed_style
Retrieve computed CSS styles for any page element using a CSS selector. Optionally filter specific properties like color and font-size to inspect only what you need.
Instructions
Get computed CSS styles for an element. Optionally filter 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": "safari_get_computed_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector | |
| properties | No | Specific CSS properties to get (e.g. ['color', 'font-size']) |