> ## Documentation Index
> Fetch the complete documentation index at: https://docs-classic.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove From Context

![Remove From Context Node configuration panel](https://mintcdn.com/cognigy-docs-legacy/sbu8K_1z3Hht9e7i/_assets/ai/develop/node-reference/logic/remove-from-context.png?fit=max\&auto=format\&n=sbu8K_1z3Hht9e7i\&q=85\&s=578d756d65f816b784bbba5f16a71c93)

## Description

This Node removes information from the [Context](https://docs-classic.cognigy.com/ai/agents/develop/ai-agent-memory/context.md) object.

## Parameters

| Parameter | Type | Description |
| - | - | - |
| Key | CognigyScript | The key of the property you want to remove from the Context object. For example, if you enter `requestedProduct`, it removes the `context.requestedProduct` property. You can use nested keys, for example, `user.profile.name` removes the `context.user.profile.name` property from the Context object. This parameter doesn't support dashes or hyphens. |
| Value | CognigyScript | The value to remove from the array. Required only if you select **Array** in the **Mode** parameter. |
| Mode | Select | <ul><li>**Simple** — removes the key-value pair completely from the Context object.</li><li>**Array** — removes the value entered in the **Value** parameter from the array under the key in the Context object.</li></ul> |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.