Fix how a word is pronounced
set_pronunciation_ruleUse this when narration mispronounces a word, name or brand in a project's voiceovers. Returns the rule and the project's rule count after adding or replacing it (IPA or CMU phonemes, up to 500 rules) and syncing the pronunciation dictionary used for later synthesis. Not for re-voicing lines that already have audio.
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": {
"projectId": "<projectId>",
"word": "<word>",
"phonemes": "<phonemes>"
},
"name": "set_pronunciation_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | Yes | Exact word or phrase to match, up to 120 characters | |
| alphabet | No | Phonetic alphabet: ipa or cmu; defaults to ipa | |
| phonemes | Yes | How to say it, in the chosen phonetic alphabet, up to 500 characters | |
| projectId | Yes | Project whose narration to fix |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | ||
| status | Yes | ||
| projectId | Yes | ||
| ruleCount | Yes | ||
| ruleCountIsLowerBound | Yes |