speak_text
Speak text aloud on an Android phone using its built-in TTS engine. The call routes through the Ghost portal app, so it works from a PC or from the device itself.
Instructions
Make the phone speak text aloud using its built-in TTS engine.
Works whether the agent runs on the phone or on a PC — the call always goes through the Ghost portal app running on the device.
Args: device: ADB serial. This tool is Android-only. text: Text to speak. rate: Speech rate multiplier (0.5 = slow, 1.0 = normal, 1.5 = fast).
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": {
"device": "<device>",
"text": "<text>"
},
"name": "speak_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | ||
| text | Yes | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |