New voice line
create_voiceCreates ONE voice sound (a character line) in a game, in its Voices folder ("Vozes" in Portuguese games), created with the first line. Free: nothing is generated yet. name = what the game calls it (e.g. "Victory line", "Groovy"); text = exactly what the character says, as written (up to maxChars of list_voices; split longer speeches into several lines). Pick the voice, register and emotion from list_voices; language defaults to the game's. Returns the sound page (url) and the cost per version; then ask the user and generate it with generate_voice.
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": {
"game_id": "<game_id>",
"name": "<name>",
"text": "<text>"
},
"name": "create_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The sound name the game calls (e.g. "Victory line"). | |
| text | Yes | The exact line the character says. | |
| emotion | No | calmo (calm), normal (the default) or intenso (intense). | |
| game_id | Yes | ||
| language | No | Language of the line. Omitted: the game's language. | |
| register | No | coloquial (loose, the default), conversa (conversational) or formal (read). A voice without the register speaks formal. | |
| voice_id | No | A voice id from list_voices. Omitted: the first voice of the library. |