Multiple Tool Calls
# support
f
My assistant is calling the tool multiple times. I inly need it to call it once? Also, while the assistant is waiting on another tool response it says, “Just a sec” over and over. How do I remove this and make sure only to proceed once tool is a certain response?
k
Set the tool’s async to false to ensure it only gets called once, update your system prompt to instruct calling the tool only after gathering all needed info, and avoid repeated “Just a sec” by limiting filler responses and managing response delay settings.
f
Thank you. Setting the tool async worked for the first issue. Second Issue: My prompt: "10. [Wait for Technician Assignment] - Say: “Give me a moment while I check if a technician has accepted the job.” - Call function
check_job_status
. - If `"status": "claimed"`: - Say: “Great news! Technician {{technicianName}} is on the way to help you.” - If `"status": "pending"`: - Wait silently 5 seconds and retry (loop). - 11. [Transfer the Call] - Say: “Thanks for your patience. I’ll transfer you now to the technician.” - Call the
transferCall
function." When the assistant first checks it gets this result: "{ "results": [ { "tool_call_id": "", "result": { "status": pending", "technician_name": "" } } ] }" But then when the job get assigned this is the result: "{ "results": [ { "tool_call_id": "", "result": { "status": "claimed", "technician_name": "John Brown" } } ] }" The assistant is not doing anything other than repeatedly calling the tool and saying Just a sec, Hold On... Its not saying the name of the tech or transferring the call. How can I resolve this?
@User
s
call_id pls
f
774bc7a3-bf76-4177-840b-d3a3cce590ef
The assistant never called the start_tech_broadcast tool. It also transferred the called without getting the correct confirmation back from the webhook. PLease help.
It also said "I will start the tech broadcast" I dont want the assistant to say this. Simply call the start_tech_broadcast tool and move on.
k
This ticket has been marked as solved, and as a result, you will no longer receive any further responses. Kindly create a new support ticket to escalate your inquiry.