add_from_rules
Add a pronunciation dictionary using alias or phoneme rules to control how words are pronounced in ElevenLabs text-to-speech.
Instructions
Add A 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": {
"rules": "<rules>",
"name": "<name>"
},
"name": "add_from_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the pronunciation dictionary, used for identification only. | |
| 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' } | |
| description | No | ||
| workspace_access | No |