Skip to main content

The Retool Context object

Information about the current web app.

Properties

All properties for Retool Context with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.

appName

string

The name and path of the app.


appUuid

string

The unique ID of the app.


currentPage

string

For multipage apps, the title of the current page.


environment

string

The selected environment.


inEditorMode

boolean

Whether the app is open in the App IDE.


pages

object[]

For multipage apps, an array of the pages.

Properties

id

string

The identifier of the page.


title

string

The title of the page.


url

string

The URL of the page.


isCurrentPage

boolean

Whether the page is the current page.



pageTag

string

The release version of the app. Defaults to latest if using the working version.


runningQueries

string[]

A list of queries running.


translations

object

A list of translated text for localization.

Properties