***

title: add_post_answer_verb
slug: /reference/python/agents/agent-base/add-post-answer-verb
description: Add a SWML verb to run after the call is answered but before the AI starts.
max-toc-depth: 3
---------------------

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

[ref-agentbase]: /docs/server-sdks/reference/python/agents/agent-base

Add a verb to run after the call is answered but before the AI starts. Common uses
include welcome messages, legal disclaimers, and brief pauses.

## **Parameters**

<ParamField path="verb_name" type="str" required={true} toc={true}>
  SWML verb name (e.g., `"play"`, `"sleep"`).
</ParamField>

<ParamField path="config" type="dict[str, Any]" required={true} toc={true}>
  Verb configuration dictionary.
</ParamField>

## **Returns**

[`AgentBase`][ref-agentbase] -- Returns self for method chaining.

## **Example**

```python {5,8}
from signalwire import AgentBase

agent = AgentBase(name="support", route="/support")
agent.set_prompt_text("You are a helpful assistant.")
agent.add_post_answer_verb("play", {
    "url": "say:Welcome to Acme Corporation. This call may be recorded."
})
agent.add_post_answer_verb("sleep", {"time": 500})
agent.serve()
```