var2_record_voice
Record the user's VOICE right in the chat (a recorder widget with Record / Stop / play back). "Let me record my voice", "record me", "I want to say it myself", "voice to voice from my recording", "change my voice" with no audio file → THIS first. The recording uploads to var2 and the widget sends its URL and length back to the chat; then call var2_voice_to_voice with it. Optionally pass the target voice (voice_id + voice_name from var2_get_voice_list) so it is carried along. Free; nothing is generated until voice-to-voice runs.
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": "var2_record_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice_id | No | Optional target ElevenLabs voice_id for the conversion afterwards (var2_get_voice_list). | |
| voice_name | No | Optional display name of that voice. |