***

title: set_full_reset
slug: /reference/python/agents/context-builder/context/set-full-reset
description: Set whether to completely replace the system prompt 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/python/agents/context-builder/context

Set whether to completely replace the system prompt when entering this context
(rather than injecting additional instructions).

## **Parameters**

<ParamField path="full_reset" type="bool" required={true} toc={true}>
  Whether to fully rewrite the system prompt on entry.
</ParamField>

## **Returns**

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

## **Example**

```python {9}
from signalwire import AgentBase

agent = AgentBase(name="my-agent", route="/agent")

contexts = agent.define_contexts()
contexts.add_context("default").add_step("menu").set_text("Ask what the caller needs.")

escalation = contexts.add_context("escalation")
escalation.set_full_reset(True)
escalation.set_system_prompt("You are a senior escalation specialist.")
escalation.add_step("investigate").set_text("Investigate the escalated issue in detail.")

agent.serve()
```