Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NIUTRANS_API_KEY | Yes | Your Niutrans API key from https://niutrans.com/cloud/account_info/info |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| translate_text | 使用小牛翻译 API 将文本从 source 语种翻译到 target 语种。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| language_catalog | 提供小牛翻译支持的语种及别名列表。 返回内容包括所有语种的代码与中英文名称,以及可用的别名映射,可用于模型在翻译前完成语种推断。 |