***

title: add_answer_verb
slug: /reference/python/agents/agent-base/add-answer-verb
description: Configure the answer verb that connects the call.
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

Configure the answer verb that connects the call. Use this to customize answer
behavior such as setting a maximum call duration.

## **Parameters**

<ParamField path="config" type="Optional[dict[str, Any]]" toc={true}>
  Answer verb configuration (e.g., `{"max_duration": 3600}`).
</ParamField>

## **Returns**

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

## **Example**

```python {5}
from signalwire import AgentBase

agent = AgentBase(name="support", route="/support")
agent.set_prompt_text("You are a helpful assistant.")
agent.add_answer_verb({"max_duration": 3600})  # 1 hour max call duration
agent.serve()
```