add_pronunciation_rules
Add pronunciation rules to an existing dictionary to control word pronunciation in text-to-speech, using a dictionary name or ID.
Instructions
Add rules to an existing pronunciation dictionary (by saved name or id).
Args: dictionary: A saved dictionary name (or an ElevenLabs dictionary id). rules: {word: say_as} map or a list of EL rule objects (see create_pronunciation_dictionary).
Returns: {"id", "version_id", "added": } or {"error"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| dictionary | Yes |