You can use the following API to retrieve a token value. It is equivalent to $token$.

ALH.getTokenValue()
TEXT

If there are no tokens available, it will return null.