get_supported_languages
Retrieve the available languages with language codes and display names, enabling users to choose source and target languages before document translation.
Instructions
获取支持的语言列表(语言码 -> 显示名)。请在调用 translate_document 之前调用此工具,让用户选择源语言和目标语言。
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": "get_supported_languages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| display_locale | No | 显示名使用的界面语言,默认 zh。可选 en、zh、zh-Hant、ja、ko、fr、ru、de、ar |