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.
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": "list_widgets"
}
}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. |