mcp-easy-ai__wp_get_widget
Gets one widget by id, with its settings and a rendered HTML preview. Required: widget_id (e.g. "block-3", "text-2", "recent-posts-4" — from wp_list_widgets or wp_list_sidebars). Returns { id, id_base, sidebar, settings_editable, settings, rendered }. settings is the settings object wp_update_widget accepts as instance; it is null and settings_editable is false for a legacy widget type without a REST representation (read-only over MCP). rendered is the widget's front-end HTML ("" while it sits in wp_inactive_widgets). Refused when the theme has no widget areas (a block theme): use wp_list_templates instead. Requires the edit_theme_options capability, the same as Appearance > Widgets. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| widget_id | Yes | The widget id, e.g. "block-3" (id_base and instance number). |