List navigation menus
list_menusRetrieve navigation menus and their assigned theme locations for a WordPress site. Identifies block-theme navigation blocks via wp_navigation content type.
Instructions
List the site's navigation menus and which theme locations they are assigned to. Note that block (full-site-editing) themes may instead use navigation blocks — list_content with type "wp_navigation" covers those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |