list_locales
List enabled locales and the default language branch for a site; use returned codes as the locale value in other CMS tools to place content in the right branch.
Instructions
List the enabled locales (language branches), in order, with which one is the default. Each content item has one variant per locale; pass these codes as locale to other tools so text lands in the branch matching its language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. |