create_byo_voice
Create and save a reusable voice clone in the caller's workspace.
Set clip_reference=true to clone original speech from audio/video with
ElevenLabs. Optional clip_ranges selects speech-only {start_ms,end_ms}
ranges, useful for individual speakers. Otherwise Google cloning needs
consent_path with the speaker's consent recording. Requires explicit
user confirmation of ownership/permission; never assume it. Inputs are
local paths (stdio) or public HTTPS URLs (hosted). Returns voice_id for
preview_voice and synthesize_audio. list_voices includes saved clones.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"reference_path": "<reference_path>"
},
"name": "create_byo_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the saved voice. | |
| clip_ranges | No | Optional speech-only ranges with integer start_ms >= 0 and end_ms > start_ms; 1–500 ranges, only with clip_reference=true. | |
| consent_path | No | Spoken consent recording: local path in stdio or public HTTPS URL when hosted. Required for Google voice cloning. | |
| language_code | No | Language code, for example "en" or "fr". Leave empty to use the operation default. | |
| clip_reference | No | True selects original-speech cloning with ElevenLabs; false selects Google cloning and requires consent_path. | |
| reference_path | Yes | Reference speech file: local path in stdio or public HTTPS URL when hosted. | |
| confirm_ownership | No | True only after the user explicitly confirms ownership or the speaker’s permission to clone this voice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||