List the languages an agent can speak or write
list_agent_languagesList the languages an agent can speak or write
Returns the languages you can assign to an agent, each with an English name, the name the language calls itself, and a region code for a flag image, so a language picker needs no table of its own. This is a different list from GET /languages, which returns the locales the dashboard interface is translated into. Populating an agent picker from the locale list is a common mistake and leaves a customer with three choices where the platform supports dozens. Set type to chat for a text agent, which has no speech synthesis and therefore the longer list. For voice, language support depends on the speech model, so pass the same ttsModel value you will create the agent with and the answer matches what that agent will accept; leaving it unset answers for the default model. The voice list is read from the live model catalogue, and meta.source reports catalog when it came from there or defaults when a built-in list was used instead. Set type to all to name any language code the platform may have stored, which is what a list of agents needs to print a language instead of a bare code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_agent_languages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Which kind of agent the languages are for, or `all` to name every language the platform knows. | voice |
| ttsModel | No | Speech model the voice agent will use, for example `echocall-ultra`. Ignored for `type=chat` and `type=all`. Unset means the default model. |