bcro.
04/25/2025, 4:55 PMAI Evy
04/25/2025, 4:55 PMAI Evy
04/25/2025, 4:55 PMjson
{{current_time_UTC}}
This will show the current time in UTC timezone, similar to how other timezone examples work like current_time_Australia/Sydney or current_time_America/New_York [(2)]() .AI Evy
04/25/2025, 4:55 PMbcro.
04/25/2025, 5:10 PMAI Evy
04/25/2025, 5:10 PMAI Evy
04/25/2025, 5:10 PMAI Evy
04/25/2025, 5:10 PMtypescript
{
type: "function",
function: {
name: "end_call",
description: "End the call only when user explicitly requests it.",
parameters: {
type: "object",
properties: {
message: {
type: "string",
description: "The message you will say before ending the call with the customer.",
},
},
required: ["message"],
},
}
}
[(3)]()
5. Keep end call as a general function in the main prompt rather than in individual states for multi-prompt agents [(4)]()
6. When writing prompts for the LLM, add specific instructions like: "Do not mix the tool name in your response" to avoid the agent vocalizing the function call [(5)]()
7. Set max call duration and max silence duration in settings as a fallback to ensure calls eventually end [(2)]()AI Evy
04/25/2025, 5:10 PM