列出可用音色
list_voices获取 TTS 可用音色列表(仅免费开源音色,不计额度)。调用 text_to_speech 前必须先从这里拿 voice 参数,直接猜测音色名会返回 VOICE_NOT_ALLOWED。不传 lang 返回全部;传 lang 按语言前缀过滤(zh→zh_CN、en→en_US…;matcha/fanchen 归 zh_CN)。
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_voices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | 按语言筛选(前缀匹配),如 zh / en / ja;不传则返回全部音色 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| voices | No | ||
| requestId | No |