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.

النوع
يُجري تغييرات
الرصيد
1
المنصة
WordPress
الموافقة
معاينة أولًا، وتُطبَّق بعد موافقتك

ماذا يفعل

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.

وصف الأداة بالإنجليزية لأنه النص الرسمي الذي يراه الذكاء الاصطناعي.

MCP: wordpress_edit_menu

كيفية الاستخدام

لا تستدعي الأدوات بأسمائها. اكتب ما تريد في ChatGPT أو Claude أو أي مساعد متصل بـ Opus Growth بكلماتك، وسيختار الذكاء الاصطناعي هذه الأداة عندما تناسب.

لأن هذه الأداة تُغيّر حسابك، يعرض المساعد أولًا معاينة دقيقة لما سيتغير. لا يُطبَّق شيء قبل موافقتك، ويُسجَّل كل تغيير في سجل التدقيق.

المعلمات

الاسمالنوعإلزاميالافتراضي
actionstringإلزامي·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_idintegerاختياري0Exact menu identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
item_idintegerاختياري0Exact item identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
titlestringاختياري·Human-readable title for the resource being created or updated.
urlstringاختياري·URL to read, use as a destination, or otherwise process as described by this operation.
page_idintegerاختياري0Exact page identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
parent_idintegerاختياري-1Exact parent identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
positionintegerاختياري0Numeric position value for wordpress edit menu. Use the provider's expected unit, range, and precision.
targetstringاختياري·Resource, value, or destination to target, in the format required by this operation.
orderarrayاختياري·Order value for wordpress edit menu. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
namestringاختياري·Human-readable name for the resource being created or updated.
locationstringاختياري·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_idintegerاختياري0Exact nav identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
pathstringاختياري·Provider path, route, or resource-relative path to use for this operation.
parentstringاختياري·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_urlstringاختياري·Exact URL of the connected WordPress site to target when more than one site is available.