***

title: addAnswerVerb
slug: /reference/typescript/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/typescript/agents/agent-base

Configure the answer verb (phase 2) with optional settings. Use this to customize
answer behavior such as setting a maximum call duration.

## **Parameters**

<ParamField path="config" type={"Record<string, unknown>"} toc={true}>
  Answer verb configuration (e.g., `{ max_duration: 3600 }`).
</ParamField>

## **Returns**

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

## **Example**

```typescript {5}
import { AgentBase } from '@signalwire/sdk';

const agent = new AgentBase({ name: 'support', route: '/support' });
agent.setPromptText('You are a helpful assistant.');
agent.addAnswerVerb({ max_duration: 3600 }); // 1 hour max call duration
await agent.serve();
```