{
"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."
},
{
"type": "number",
"number": "+1122334455",
"message": "I am forwarding your call to Department C. Please stay on the line."
}
],
"function": {
"name": "transferCall",
"description": "Use this function to transfer the call. Only use it when following instructions that explicitly ask you to use the transferCall function. DO NOT call this function unless you are instructed to do so.",
"parameters": {
"type": "object",
"properties": {
"destination": {
"type": "string",
"enum": [
"+1234567890",
"+0987654321",
"+1122334455"
],
"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"
}
]
},
{
"type": "request-start",
"content": "I am forwarding your call to Department C. Please stay on the line.",
"conditions": [
{
"param": "destination",
"operator": "eq",
"value": "+1122334455"
}
]
}
]
}
]
}