List widgets
list_widgetsList widgets on a WordPress site, optionally within a specific sidebar, and view each widget's settings and rendered output.
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. |