upload_voice
Imports reference audio from a local path or Base64 string (20 MB max, 1–60 seconds) to create a reusable voice and returns a voiceId.
Instructions
导入参考音频,返回 voiceId。传 path(本机音频文件路径,常见格式自动转换)或 Base64 编码的 audio,限 20 MB、1–60 秒
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": "upload_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 音色名称 | |
| path | No | 本机音频文件路径,仅 yovoice mcp(stdio)可用 | |
| audio | No | 参考音频的纯 Base64 字符串,不含 data URL 前缀 |