speak
Convert text to speech during phone calls using the Telnyx MCP Server. Specify voice, language, and service level to deliver spoken messages on active calls.
Instructions
Speak text on a call using text-to-speech.
Args:
call_control_id: Required. Call control ID.
payload: Required. Text to speak.
voice: Required. Voice to use. Defaults to female
payload_type: Optional. Type of payload. Valid values: text, ssml. Defaults to "text".
service_level: Optional. Service level for TTS. Valid values: basic, premium. Defaults to "basic".
stop: Optional. Which audio to stop. Valid values: current, all.
language: Optional. Language code (e.g., 'en-US', 'arb').
Returns:
Dict[str, Any]: Response data
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |