add_rules
Add alias or phoneme pronunciation rules to an existing ElevenLabs dictionary so specific words and phrases are spoken correctly by the model.
Instructions
Add Rules To The Pronunciation Dictionary
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": {
"pronunciation_dictionary_id": "<pronunciation_dictionary_id>",
"rules": "<rules>"
},
"name": "add_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | List of pronunciation rules. Rule can be either: an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' } | |
| pronunciation_dictionary_id | Yes | The id of the pronunciation dictionary |