jarvatar
02/07/2025, 4:12 PM{
"tools": [
{
"type": "transferCall",
"destinations": [
{
"type": "number",
"number": "+1234567890",
"message": "I am forwarding your call to Department A. Please stay on the line."
},
{
"type": "number",
"number": "+0987654321",
"message": "I am forwarding your call to Department B. Please stay on the line."
}
],
...
"description": "The destination to transfer the call to."
}
},
"required": [
"destination"
]
}
},
"messages": [
{
"type": "request-start",
"content": "I am forwarding your call to Department A. Please stay on the line.",
"conditions": [
{
"param": "destination",
"operator": "eq",
"value": "+1234567890"
}
]
},
{
"type": "request-start",
"content": "I am forwarding your call to Department B. Please stay on the line.",
"conditions": [
{
"param": "destination",
"operator": "eq",
"value": "+0987654321"
}