***

title: set_reset_full_reset
slug: /reference/python/agents/context-builder/step/set-reset-full-reset
description: Set whether to completely replace the system prompt on context switch.
max-toc-depth: 3
---------------------

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

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

Set whether to completely replace the system prompt when this step switches
contexts.

## **Parameters**

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

## **Returns**

[`Step`][ref-step] -- Self for method chaining.

## **Example**

```python {11}
from signalwire import AgentBase

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

contexts = agent.define_contexts()
ctx = contexts.add_context("default")
ctx.add_step("greet").set_text("Welcome the caller.")
transfer = ctx.add_step("transfer")
transfer.set_text("Transfer the caller to billing.")
transfer.set_valid_contexts(["billing"])
transfer.set_reset_full_reset(True)
transfer.set_reset_system_prompt(
    "You are a billing specialist. Forget all previous context."
)
billing = contexts.add_context("billing")
billing.add_step("invoice").set_text("Help with billing inquiries.")

agent.serve()
```