Skip to content
Changelog

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

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "cohost.say",
"params": {
"text": "Welcome back, everyone."
}
}

Result

{ "said": "Welcome back, everyone." }

cohost.set · voice.say