Get Duolingo Word Audio URL
duolingo_get_audio_urlFetches a CloudFront CDN URL for a word's pronunciation audio so you can play or download text-to-speech audio without searching for files.
Instructions
Get the URL of a pronunciation audio file for a word. Returns a CloudFront CDN URL pointing to the TTS audio file.
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": {
"word": "<word>"
},
"name": "duolingo_get_audio_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | Yes | The word to get pronunciation audio for (e.g. 'bonjour'). | |
| voice | No | Specific voice name to use (e.g. 'mathieu'). Defaults to random. | |
| random | No | If true, select a random voice. Ignored if 'voice' is specified. | |
| language_abbr | No | Language abbreviation (e.g. 'fr'). Defaults to current language. |