List languages
list_localesLists the site's languages (Xodia Languages): whether languages are set up, the default language, every other language with its code, name, direction (ltr or rtl), address prefix (//) and how many texts are translated, translated page addresses (paths), the site address used for hreflang and the sitemap, the languages kit version, and the site's languages allowance (the plan and add-on, how many extra languages it may have and whether it is over). Read it before get_translations or set_translations. When languages aren't set up, the owner adds them in Xodia, Project settings, Languages: never write src/i18n files or the kit by hand. Reads only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "list_locales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Optional branch; default the branch the workspace has open | |
| projectId | Yes | Project id from list_projects |