***

title: clearPostAiVerbs
slug: /reference/typescript/agents/agent-base/clear-post-ai-verbs
description: Remove all post-AI verbs from the call flow.
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

Remove all post-AI verbs.

## **Parameters**

None.

## **Returns**

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

## **Example**

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

const agent = new AgentBase({ name: 'support', route: '/support' });
agent.setPromptText('You are a helpful assistant.');
agent.addPostAiVerb('hangup', {});
agent.clearPostAiVerbs();
await agent.serve();
```