voice.say
Says text aloud on the Voice track, after anything already waiting to be said.
JSON-RPC 2.0project.write
The Voice track is added when the workspace has none. Text that's refused (personal data, slurs) answers an error saying why. widgets.speak is an older name for this method.
Parameters
- textstringrequiredWhat to say.
- profilestringA voice profile's name or id. Default: the default voice.
- max_charsnumberCut the text at this many characters, 10 to 5000. Default 1000.
Result
- saidstringWhat will be said.
Errors
Invalid params (-32602) without text. A state error (-32005) when the text is refused or the voice can't speak.
From an AI agent
The MCP server's say_aloud or voice (action: say) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "voice.say", "params": { "text": "Thanks for the raid!" }}lightair call voice.say '{"text":"Thanks for the raid!"}'const result = lightair.call("voice.say", {"text":"Thanks for the raid!"});Result
{ "said": "Thanks for the raid!" }