get_css_styles
Retrieve matched CSS rules, inline and inherited styles, and cascade data for an element UID to debug why properties are applied, overridden, or conflicting.
Instructions
Retrieve matched CSS rules, inline styles, inherited styles, and cascade information for an element identified by its UID. Use this tool to debug why specific CSS properties are applied, overridden, or conflicting. Results are paginated and return 10 rules per page by default; use pageIdx to page through the remaining rules. Requires a UID from take_snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The uid of the element on the page from the page content snapshot to inspect CSS styles for | |
| pageId | Yes | Targets a specific page by ID. | |
| pageIdx | No | Page number to return (0-based). Defaults to 0 (the first page). | |
| pageSize | No | Maximum number of CSS rules to return per page. Defaults to 10. |