***

title: setFullReset
slug: /reference/typescript/agents/context-builder/context/set-full-reset
description: Set whether to fully reset conversation history when entering this context.
max-toc-depth: 3
---------------------

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

[ref-context]: /docs/server-sdks/reference/typescript/agents/context-builder/context

Set whether to fully reset conversation history when entering this context. When
`true`, the conversation starts fresh rather than carrying over prior turns.

## **Parameters**

<ParamField path="fullReset" type="boolean" required={true} toc={true}>
  Whether to fully reset conversation history when entering this context.
</ParamField>

## **Returns**

[`Context`][ref-context] -- Self for method chaining.

## **Example**

```typescript {7}
import { ContextBuilder } from '@signalwire/sdk';

const builder = new ContextBuilder();
builder.addContext('default').addStep('menu').setText('Ask what the caller needs.');

const escalation = builder.addContext('escalation');
escalation.setFullReset(true);
escalation.setSystemPrompt('You are a senior escalation specialist.');
escalation.addStep('investigate').setText('Investigate the escalated issue in detail.');
```