> For the complete documentation index, see [llms.txt](https://jolzee.gitbook.io/leopard/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jolzee.gitbook.io/leopard/installation/context-variables/context-parameters.md).

# Location Context Parameters

To have the location information sent to Teneo you must enable the following [build configuration](/leopard/installation/build-variables.md) variable.&#x20;

```
location.login.sendAtLogin = true
```

### Variables Sent

The values will differ based off the location of the user chatting with Teneo via Leopard. You can access these variables in a pre-processing script from within Teneo Studio.&#x20;

```
timeZone        : America/Los_Angeles  
city            : Sammamish            
continentCode   : NA                   
continentName   : North America        
countryCode     : US                   
countryName     : United States        
currencySymbol  : $                    
currencyCode    : USD                  
latitude        : 47.5857              
longitude       : -122.0345            
regionCode      : WA                   
regionName      : Washington           
```

### Retrieving in Pre-Processing within Teneo

```java
if (engineEnvironment.getParameter("timeZone")) { 
    timeZone = engineEnvironment.getParameter("timeZone") 
}

if (engineEnvironment.getParameter("city")) { 
    city = engineEnvironment.getParameter("city") 
}

if (engineEnvironment.getParameter("continentCode")) { 
    continentCode = engineEnvironment.getParameter("continentCode") 
}

if (engineEnvironment.getParameter("continentName")) { 
    continentName = engineEnvironment.getParameter("continentName") 
}

if (engineEnvironment.getParameter("countryCode")) { 
    countryCode = engineEnvironment.getParameter("countryCode") 
}

if (engineEnvironment.getParameter("currencySymbol")) { 
    currencySymbol = engineEnvironment.getParameter("currencySymbol") 
}

if (engineEnvironment.getParameter("currencyCode")) { 
    currencyCode = engineEnvironment.getParameter("currencyCode") 
}

if (engineEnvironment.getParameter("latitude")) { 
    latitude = engineEnvironment.getParameter("latitude") 
}

if (engineEnvironment.getParameter("longitude")) { 
    longitude = engineEnvironment.getParameter("longitude") 
}

if (engineEnvironment.getParameter("regionCode")) { 
    regionCode = engineEnvironment.getParameter("regionCode") 
}

if (engineEnvironment.getParameter("regionName")) { 
    regionName = engineEnvironment.getParameter("regionName") 
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jolzee.gitbook.io/leopard/installation/context-variables/context-parameters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
