weronika
02/09/2026, 3:00 PMAI Evy
02/09/2026, 3:00 PMAI Evy
02/09/2026, 3:00 PM{{current_time}} for the current time in America/Los_Angeles, or {{current_time_[timezone]}} for a specific timezone (e.g., {{current_time_Australia/Sydney}}) .
To use it, add the variable directly in your prompt like this: [(2) ]()
#context
current date: {{current_time_America/Los_Angeles}}
There's also {{current_calendar}} and {{current_calendar_[timezone]}} which provide a 14-day calendar view. [(1) ]()AI Evy
02/09/2026, 3:00 PMAI Evy
02/09/2026, 3:00 PMweronika
02/09/2026, 3:06 PMAI Evy
02/09/2026, 3:06 PMAI Evy
02/09/2026, 3:06 PM{{current_time}} directly in your prompts. [(1) ]()
Where to add them:
- In your agent's prompt – Just type the variable directly into the prompt text, for example:
Hello {{user_name}}, I understand you're interested in {{product_name}}. How can I help you today?
- In your begin message – The opening greeting your agent uses
- In tool configurations – Including custom function URLs, tool descriptions, and property descriptions
- In call handling settings – Voicemail prompts, transfer call phone numbers, and warm transfer instructions
For Conversation Flow agents:
You can set default dynamic variables in your agent's settings under "Security and fallback settings" → "Default dynamic variables" [(2) ]() . These serve as fallback values when specific variables aren't included in the call request. [(1) ]()
You can also configure default_dynamic_variables via the API when updating your conversation flow. [(3) ]()
Testing:
When using the "Test LLM" feature in the dashboard, you can preset dynamic variable values in the AI chat interface. [(2) ]()AI Evy
02/09/2026, 3:06 PMAI Evy
02/09/2026, 3:06 PMweronika
02/09/2026, 3:17 PMAI Evy
02/09/2026, 3:17 PMAI Evy
02/09/2026, 3:17 PM{{current_time}} variable into your tool configurations — specifically in the custom function that calls your booking API. [(1) ]()
Where to use it:
- Tool descriptions – Include the current time context so the LLM knows what dates/times are available
- Custom function URLs – If your booking endpoint needs a timestamp parameter
- Property descriptions – When defining parameters for your booking function
Example approach:
In your custom function's description or prompt context, you could include:
The current date and time is {{current_time}}. Use this to help the customer book an appointment.
For Conversation Flow agents:
You can add tools at the conversation flow level that handle booking. The default_dynamic_variables field lets you set fallback values that are available throughout the flow. [(2) ]()
json
"default_dynamic_variables": {
"company_name": "Retell Inc",
"support_hours": "9 AM - 5 PM"
}
Important tip from the community:
If you're using a custom function for booking, make sure to enable "Speak After Execution" — otherwise your agent may stop responding after the tool call completes. [(3) ]()AI Evy
02/09/2026, 3:17 PMAI Evy
02/09/2026, 3:17 PM