https://retellai.com/?utm_source=discord&utm_medium=seo logo
Your realtime gpt doesn't do tool calling
# ❓・bug-report
q
You don't allow for strict tool calls like VAPI so there is no way to get the realtime AI to do a tool call unless it is explicitly says "if user says X call Y tool" this is bad. Please allow for strict tools.
c
in the tool calls, you can set the description which basically says when to call the tool
if this doesn't answer your question could you please elaborate more?
q
Is the description where I can set strict?
I can't get the 4o mini realtime to tool call in retell but my same prompt works perfectly in vapi.
Like it wont even end the call.
I tried multi prompt to see if that would fix but it still wouldnt call my tools. The only thing I can think of is that strict is required realtime and vapi has that as an option https://cdn.discordapp.com/attachments/1408560992836915260/1408592419414347806/image.png?ex=68aa4d6b&is=68a8fbeb&hm=84965237958023addbc02371892a0808af16624c1f8e2c50df0af8da87ccfcb6&
c
so strict doesn't mean its going to call the function more, its just going to stick to the json parameter
which we do offer, its the schema below the tool and we offer some examples, but if you can share with me how you're calling tools i can see how i can help you
q
like my prompt or my tool? The only way I have gotten realtime to tool call in retell is when I do one off test. but when in a full prompt it won't do.
I've tried multiple versions but here is one now. ## Step 5: RSVP Capture → use
webinar_sign_up
“Okay here is what I have for you....” - Email: spell letter-by-letter, then say the domain. - Phone: digit by digit. - Confirm first name, last name, company, and the webinar name. Fields: first_name: {{first.name}} last_name: {{last.name}} company: {{company}} email: {{email}} phone_number: {{phone.number}} webinar_name: {{webinar.name}} When all are confirmed, call
webinar_sign_up
with exactly: { "first_name": "{{first.name}}", "last_name": "{{last.name}}", "company": "{{company}}", "email": "{{email}}", "phone_number": "{{phone.number}}", "webinar_name": "{{webinar.name}}" } Say: “Alright, let me confirm that real quick…” then call the tool. Wait for the result and acknowledge success briefly.
but I have tried many variations. Like I said I can't even get end_call to work in realtime in retell. Works fine in different models or vapi but not retell. Which I want to work in retell because your guys latency is better and price
The only time I have got retell realtime to work is "if I say X use tool Y" which is not realisitic in a conversation.
Like look at this girl. she was trying so hard. Saying end_call over and over. call_e0b6d79c866f46e0c186ef5e115
c
sorry for the late response, but to have the most success give it strict instructions, the correct syntax that i've used for 99% success has been: "after saying this... call function 'end_call' EVERY TIME"
q
Okay I'll try it. When you do the simulations does it still use realtime because it is killing in the simulations but never web call and it did once on a phone call haha