cohost.say
Has the AI co-host say these words, word for word, in its own voice.
JSON-RPC 2.0project.write
Parameters
- textstringrequiredWhat to say.
Result
- saidstringThe words.
Errors
Invalid params (-32602) without text. A state error (-32005) when there's no co-host, it's off, or PiAir can't say it now.
From an AI agent
The MCP server's cohost (action: say) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "cohost.say", "params": { "text": "Welcome back, everyone." }}lightair call cohost.say '{"text":"Welcome back, everyone."}'const result = lightair.call("cohost.say", {"text":"Welcome back, everyone."});Result
{ "said": "Welcome back, everyone." }