setting up transfer tool to another agent
# support
t
How do i correctly setup the destination field on the vapi dashboard when configuring the transfer call tool to another vapi agent? Example: Agent 1 - (transfer to) -> Agent 2 I copy/pasted the name directly into the tool but get "destination {agent 2} not found" when trying to start a web call for agent 1. Agent 1 has access to the transfer tool. Thanks!
v
To transfer a call from Agent 1 to Agent 2, you must use the Squads feature and set the destination type to
"assistant"
with the exact
assistantName
. Here’s a sample configuration for the destination field:
Copy code
json
{
  "type": "assistant",
  "assistantName": "Agent 2",
  "message": ""
}
Tip: Do not use the phone number field for agent-to-agent transfers. Set up a Squad and configure the transfer in the Squad's
assistantDestinations
as shown above. For more details, see the [Squads silent transfers guide](https://docs.vapi.ai/squads/silent-transfers). Sources: - [Squads silent transfers](https://docs.vapi.ai/squads/silent-transfers) - [Squads usage](https://docs.vapi.ai/squads#usage)
k
Make sure you specify the exact assistant name or phone number in the transferCall tool’s destination field matching case exactly, assign the transferCall tool to Agent 1, and confirm Agent 1 has permission otherwise, you’ll get a “destination not found” error.
t
Hi @Kings_bigđź’« I've specified the exact assistant name and assigned the transferCall tool to agent 1, but i'm not sure how to confirm the permissions bit. Do you mind elaborating? These are 2 independent agents that i've set up on the "assistants" menu, they are not currently linked in a squad.
v
To enable agent-to-agent transfers, both agents must be members of the same Squad. There is no separate permissions setting—just ensure both are added to the Squad and use the exact assistant name in your transfer destination:
Copy code
json
{
  "type": "assistant",
  "assistantName": "Agent 2",
  "message": ""
}
If the agents are not in a Squad, the transfer will not work ([see docs](https://docs.vapi.ai/squads/silent-transfers)). Sources: - [Squads silent transfers](https://docs.vapi.ai/squads/silent-transfers) - [Squads usage](https://docs.vapi.ai/squads#usage)
k
Hello! Please note that assistant transfers can only be made within squads. If you attempt to set up a transfer tool with an agent as the destination outside your squad, it will not work. Agent-to-agent transfers are strictly limited to within the same squad.
2 Views