Handoff tool not working (Urgent)
# support
n
We are trying to build a dynamic agent that will first determine the language a user can speak, then it will route to another transient assistant that will change the settings based on the inputs from the handoff tool . The issue is that the handoff tool is called, but then the first agent just sits there and nothing happens. We have treid doing a dynamic destination or just a static assistantId and it is the same. { type: "handoff", destinations: [ { type: "dynamic", server: { url: "", }, }, ], function: { name: "handoff", description: "Transfer call to the appropriate agent that can speak a different language. Once you determine the language the user wishes to speak, transfer the call", parameters: { type: "object", properties: { language: { type: "string", description: "The language the customer speaks", enum: ["en", "pt"], }, }, }, }, },
c
Hey Noah, since you are using the handoff tool for transferring to an assistant we would like to ask for a call id where the handoff tool failed. We will review the logs and see what solutions are available
n
I think we did resolve this just barely. It looks like the parameters needs to include a "destination" also
c
Good to hear! If anything else comes up or you need further assistance, we’re here to help.
2 Views