Opus Growth

Edit WordPress Menu

Edit a WordPress navigation menu: add, rename, relink, reorder or remove navbar and footer links, create a menu, or assign one to a theme location.

Tipo
Hace cambios
Créditos
1
Plataforma
WordPress
Aprobación
Primero vista previa, se aplica tras tu aprobación

Qué hace

Edit a WordPress navigation menu: add, rename, relink, reorder or remove navbar and footer links, create a menu, or assign one to a theme location.

action is one of: add_item, update_item, delete_item, reorder, create_menu, assign_location, restore. Link to an existing page with page_id, or to any address with url. Menu and item ids come from wordpress_menus.

Classic menus: pass menu_id, and item_id for an existing link. parent_id makes the link a dropdown child; order is the list of item ids in the sequence you want. Block themes take nav_id instead and identify a link by its path (dot-separated positions, such as 2.1) rather than item_id; parent is the path of the link it sits under; order is a list of paths. A previous version is kept, so action="restore" rolls the navigation back.

La descripción está en inglés porque es el texto oficial que ve tu IA.

MCP: wordpress_edit_menu

Cómo usarla

No llamas a las herramientas por su nombre. Escribe lo que quieres en ChatGPT, Claude u otro asistente conectado a Opus Growth; la IA elige esta herramienta cuando encaja.

Como esta herramienta cambia tu cuenta, tu asistente muestra primero una vista previa exacta del cambio. Nada se aplica sin tu sí y cada cambio aplicado queda en tu registro de auditoría.

Parámetros

NombreTipoObligatorioPor defecto
actionstringObligatorio·add_item · update_item · delete_item · reorder · create_menu · assign_location · restore · Requested action for the selected resource; choose one of the actions allowed by this schema.
menu_idintegerOpcional0Exact menu identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
item_idintegerOpcional0Exact item identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
titlestringOpcional·Human-readable title for the resource being created or updated.
urlstringOpcional·URL to read, use as a destination, or otherwise process as described by this operation.
page_idintegerOpcional0Exact page identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
parent_idintegerOpcional-1Exact parent identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
positionintegerOpcional0Numeric position value for wordpress edit menu. Use the provider's expected unit, range, and precision.
targetstringOpcional·Resource, value, or destination to target, in the format required by this operation.
orderarrayOpcional·Order value for wordpress edit menu. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
namestringOpcional·Human-readable name for the resource being created or updated.
locationstringOpcional·Target location, placement, or Business Profile resource for this operation. Use the exact provider-formatted value or ID returned by the relevant list or search tool.
nav_idintegerOpcional0Exact nav identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
pathstringOpcional·Provider path, route, or resource-relative path to use for this operation.
parentstringOpcional·Exact parent value for wordpress edit menu. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation.
site_urlstringOpcional·Exact URL of the connected WordPress site to target when more than one site is available.