compare_tts
Compare TTS audio to expected text to detect mispronunciations, word insertions/deletions, and compute Word Error Rate.
Instructions
Compare TTS audio output against expected text — identifies mispronunciations, inserted/deleted words, and Word Error Rate (WER)
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": {
"audio_path": "<audio_path>",
"expected_text": "<expected_text>"
},
"name": "compare_tts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language code (default: en) | en |
| audio_path | Yes | Path to the TTS audio file | |
| expected_text | Yes | The text that was supposed to be spoken |