Speak in the call
sayThe voicebot speaks text aloud in the call (verbatim in normal mode; in a live room the voice rephrases it and the answer has verbatim false, mode live_paraphrase). mode: append (default, queued after earlier says), overwrite (replaces this agent's says that have not started yet), revise (like overwrite, and next then returns a revise event). ref (optional) ties the sentence to a card or decision: the person sees it highlighted while you speak. Returns ok and seq.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session": "<session>",
"text": "<text>"
},
"name": "say"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional: the card or decision this sentence is about, "card:<card id>" (id from show) or "decision:<number>". While the sentence plays, the person sees it highlighted (its window opens if closed). Unknown ids are ignored, the sentence is spoken anyway. | |
| mode | No | append | |
| text | Yes | What to say, max 4000 chars. | |
| session | Yes | The `session` value returned by join. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||