say

View as MarkdownOpen in Claude

Make the AI agent speak specific text immediately, bypassing the normal LLM response flow. The text is spoken in the agent’s configured voice.

Parameters

text
stringRequired

Text for the agent to speak.

Returns

FunctionResultthis, for chaining.

Example

1import { FunctionResult } from '@signalwire/sdk';
2
3const result = new FunctionResult()
4 .say('Your appointment is confirmed for tomorrow at 3 PM.');