***

title: say
slug: /reference/python/agents/function-result/say
description: Make the AI agent speak specific text immediately.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[functionresult]: /docs/server-sdks/reference/python/agents/function-result

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**

<ParamField path="text" type="str" required={true} toc={true}>
  Text for the agent to speak.
</ParamField>

## **Returns**

[`FunctionResult`][functionresult] — self, for chaining.

## **Example**

```python {12}
from signalwire import AgentBase
from signalwire import FunctionResult

agent = AgentBase(name="my-agent", route="/agent")
agent.set_prompt_text("You are a helpful assistant.")

@agent.tool(name="announce_status", description="Announce the order status")
def announce_status(args, raw_data):
    status = args.get("status")
    return (
        FunctionResult()
        .say(f"Your order status is: {status}")
    )

agent.serve()
```