List Widget Types
Lists the kinds of widget that can be added on this site, both WordPress's own (Search, Recent Posts, Custom HTML, Text, Navigation Menu and so on) and any added by plugins, with each type's settings and their defaults, read from the widget's own settings form, so it is clear what to pass to mosmcp/widget-add. Marks the types the block-based widget editor hides because a block does the same job, and names that block. When the site uses block widgets, any block can also be added as a widget by passing block markup to mosmcp/widget-add instead of a type. Read-only.
Also known as: widget types, available widgets, what widgets can I add, widget catalog.
| Property | Value |
|---|---|
| Ability slug | mosmcp/widget-list-types |
| Wire tool name | mosmcp__widget-list-types |
| Category | Widgets & Sidebars (mosmcp-widgets) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_theme_options |
| Minimum default role | Administrator (Shop manager too when WooCommerce is active) |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| search | string | — | Optional. Only types whose ID, name or description contains this. | |
| include_settings | boolean | true |
Whether to include each type's settings and defaults. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| types | object[] | Yes | |
| types[].id_base | string | The type to pass to mosmcp/widget-add. | |
| types[].name | string | ||
| types[].description | string | ||
| types[].settings_editable | boolean | False for widgets built without the standard widget API, whose settings cannot be set here. | |
| types[].hidden_in_block_editor | boolean | True when the block-based widget editor does not offer this type because a block does the same job. It still works. | |
| types[].block_equivalent | string | The block that does the same job, if any. | |
| types[].in_use_count | integer | How many widgets of this type are in shown areas. | |
| types[].settings | object[] | ||
| total | integer | Yes | |
| uses_block_widgets | boolean | Yes | |
| has_widget_areas | boolean | ||
| notes | string[] |
| << Previous | Next >> |
|---|---|
| List Widget Areas | List Widgets |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.