Generate a voice line
generate_voiceGenerates versions (1 to 4) of a voice line created with create_voice, with its text, voice, register and emotion (spends credits: refused until the user approved the cost in the conversation, see approve_spending). A line costs its estimated seconds (characters / charsPerSecond of list_voices, at least 1 s) × creditsPerSecond × versions. Voice versions are NEVER chosen automatically, not even the first ones: the user must listen to them on the site and pick the ones that go to the game. Returns the new versions and the sound page (url): give the user that link and tell them to listen and choose there.
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": {
"event_id": "<event_id>"
},
"name": "generate_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | The voice line (the id create_voice returned). | |
| variations | No | How many versions. Omitted: 3. |