nucleo-layout-explain
Shows the resolved layout for each area of a WordPress URL and explains which rule selected, excluded, superseded, or applied it before you edit a layout.
Instructions
For a URL, shows for each area the resolved layout and the key that chose it (matched) with a readable rule, or null. If a layout is excluded for that URL, the area reports excluded with the layout and the rule (by). Areas product and product-archive exist only with WooCommerce, on a product and on the Shop or a product archive; elsewhere they are null. They win over single and archive (search also wins over archive): the losing area reports superseded with the winning area. applied is what the page really prints, area → layout id, after the page settings and document layout "none": read it before editing a layout. postId is the post of the URL (url_to_postid, 0 if none), keys are the request keys tried, conflicts are the priority conflicts of the map (as in layout-list).
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": {
"url": "<url>"
},
"name": "nucleo-layout-explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |