Speak text with Android TTS
tts_speakConverts text to speech on Android using Termux:API. Specify text, rate, pitch, and language for spoken output.
Instructions
Speak text aloud using the Android text-to-speech engine via Termux:API.
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": "tts_speak"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | Speech rate. Default 1. | |
| text | Yes | Text to speak. | |
| pitch | No | Speech pitch. Default 1. | |
| language | No | BCP-47 language tag, e.g. en-US or zh-CN. |