text_to_speech
Convert text into speech with customizable voice, rate, volume, and pitch settings using Microsoft Edge's text-to-speech technology.
Instructions
Convert text to speech
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": {
"text": "<text>"
},
"name": "text_to_speech"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to convert to speech | |
| voice | No | Voice to use (default: ja-JP-NanamiNeural) | ja-JP-NanamiNeural |
| rate | No | Speech rate (e.g., "+10%", "-10%") | 0% |
| volume | No | Speech volume (e.g., "+10%", "-10%") | 0% |
| pitch | No | Speech pitch (e.g., "+10%", "-10%") | 0% |
| play_audio | No | Play the audio if true | |
| use_default_player | No | Use default media player if true (use mpv if false) |