List widgets
list_widgetsRetrieve widgets from a WordPress site, optionally filtered by sidebar, to inspect their settings and rendered output for debugging or auditing.
Instructions
List widgets, optionally within one sidebar, including their settings and rendered output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sidebar | No | Sidebar id to restrict to, e.g. "sidebar-1". | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |