Package-level declarations

Types

Link copied to clipboard
class GetTtsInfoTool(context: Context) : McpTool

Reports the default TextToSpeech engine and its supported languages. No permissions required. Initializes a one-shot engine, reads its default engine and available languages (as BCP-47 tags), then shuts it down.

Link copied to clipboard
class SpeakTextTool(context: Context) : McpTool

Speaks text aloud through the device TextToSpeech engine, suspending until playback completes. No permissions required.

Link copied to clipboard
object TtsTools

Provider for text-to-speech tools: SpeakTextTool and GetTtsInfoTool.