Get a page's real rendered theme styles
get_theme_stylesInspect a WordPress page path to return its rendered theme name, stylesheet and script URLs, plus inline CSS and JS. Use it to see what a browser actually loads.
Instructions
Inspect the actual rendered HTML of a page path on the connected WordPress site and return its theme name plus the stylesheet URLs, script URLs, inline CSS and inline JS it really loads. Theme-agnostic: works by parsing the rendered HTML rather than relying on theme.json, so it reflects what a browser truly receives (colors resolved by PHP at runtime, page-builder output, etc). Calls the site-local wp-mcp-bridge/v1 REST route.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_theme_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative path of the page to inspect, e.g. "/" or "/about/". Defaults to the homepage. |