Seygi
04/24/2025, 3:27 PM1b5818b6-16ab-4f43-994c-ad93a9b1a225
assistantid b422c118-a28c-48c7-904c-2e3932498209
My tool in the assistant
json
{
"type": "transferCall",
"async": false,
"function": {
"name": "dynamicTransferCall",
"parameters": {
"type": "object",
"required": ["destination"],
"properties": {
"destination": {
"enum": ["+13322530000,4", "+13322530000,1001"],
"type": "string",
"description": "redacted"
}
}
},
"description": "redacted"
},
"destinations": [
{ "type": "number", "number": "+13322530000", "extension": "4" },
{
"type": "number",
"number": "+13322530000",
"extension": "1001",
"transferPlan": {
"mode": "warm-transfer-say-summary",
"sipVerb": "refer",
"summaryPlan": {
"enabled": true,
"messages": [
{
"role": "system",
"content": "redacted"
},
{
"role": "user",
"content": "Here is the transcript:\n\n{{transcript}}\n\n"
}
]
}
}
}
]
}
The prompt to start the tool
[Transfer the call]
- If the user requests Support, use the transferCall function with +5511998330000,123.
- If the user requests Manager, use the transferCall function with +5511998330000,456.
The log in call logs
15:11:53:621
[LOG]
Model called tool: dynamicTransferCall({"destination":"+13322530000,1001"})
The AI called the right number with extension, but didnt play the summary.
Ive attached the complete tool in json file
https://cdn.discordapp.com/attachments/1364986161176510587/1364986161407332352/tool.json?ex=680ba9ed&is=680a586d&hm=81da185fbb3c0e8ba49d0385ad6ea8bf3eb1c0811333bb555c4c099aa7e75540&Seygi
04/24/2025, 4:31 PMShubham Bajaj
04/24/2025, 5:12 PMSeygi
04/24/2025, 6:51 PMKings_big💫
04/24/2025, 7:08 PM