analyze_pronunciation
Compare a recording against the sentence it was meant to say, phoneme by phoneme.
Returns the accuracy, both IPA strings — what should have been said and what
was heard — and the grouped errors. `explain=False` skips the written
explanation and is much cheaper: the comparison is quick, but the
explanation calls a language model and costs around thirty times more.
Each entry in `errors` has `type` (substitution | missing | extra),
`expected`, `heard`, `times` and the `words` it happened in.
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": "<audio>",
"text": "<text>"
},
"name": "analyze_pronunciation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| audio | Yes | ||
| explain | No | ||
| language | No | es |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |