safari_get_computed_style
Retrieve computed CSS styles for a selected element, optionally filtering specific properties, to verify applied styles in Safari.
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']) |