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

# Get User Context

The `getUserContext()` function is used to retrieve custom data from the current prompt.

## Parameters

* `key` (required): The key of the custom data to be retrieved

## Configuration

To use the `getUserContext()` function, provide the necessary parameters in your prompt. For example:

```markdown theme={null}
{{ getUserContext("name") }}
```
