get_computed_style
Gets the resolved CSS values for specified properties on an element via selector, enabling accurate style inspection and debugging.
Instructions
Get computed CSS values for the given properties on the element matched by selector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for the target element | |
| properties | Yes | CSS property names to return (kebab-case or camelCase) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| styles | Yes | Map of property name → computed value. Keys match the input `properties` verbatim (case preserved). Values are `getComputedStyle` output; unknown properties yield empty string. |