how does chat work with squads?
# support
r
I am trying to create a chat using this for testing https://docs.vapi.ai/api-reference/chats/create?explorer=true. I have four sequential agents in the squad. Even after tool call is made for the second agent, Still the first agent is replying. I pass the whole conversation and tool calls in the message. How do i trigger other agents in the squad?
Do i need to specify which member of the squad is to be invoked when sending the input?
v
To trigger another agent in your squad during chat, make sure each assistant has an
assistantDestinations
entry with a clear transfer condition. For example:
Copy code
json
{
  "assistantDestinations": [
    {
      "type": "assistant",
      "assistantName": "SecondAgent",
      "description": "Transfer to second agent when user requests escalation",
      "message": "Transferring you to the second agent"
    }
  ]
}
Ensure your conversation context matches the
description
so the transfer is triggered as expected.
[See more in the documentation](https://docs.vapi.ai/changelog/2025/9/14). Source: - [Squad Management & Session Enhancement](https://docs.vapi.ai/changelog/2025/9/14)
r
I am tuning a prompt for a certain part of the conversation which is in the third agent, so i don't want to run through whole conversation again and again. I want to pass the whole context of the conversation that i will create from some previous conversation and then just send a single input and tune the prompt for the response. Is it possible?
c
Hi rudd, If you're looking to manage conversations using multiple assistants within squads, our recent update on September 14, 2025, offers new features that could be helpful for your use case. You can now organize your assistants into collaborative teams with the new squad-based sessions and chat integration features. This setup allows for team-based conversation management and more coordinated assistant behavior. Here are some of the key features: 1. **Squad-Based Sessions**: Use
Session.squad
and
Session.squadId
to create sessions associated with squads. 2. **Squad Chat Integration**: Enable squad-based chat using
Chat.squad
and
Chat.squadId
for better conversation handling. 3. **Session Management by Squad**: Use
GetSessionPaginatedDTO.squadId
to query and manage sessions by squad. 4. **Full Message History**: Enable complete message history with
ArtifactPlan.fullMessageHistoryEnabled
. These features are designed to enhance multi-assistant workflows, allowing specialists to manage different parts of a conversation while maintaining shared context and coordination. You can [view the full details here](https://docs.vapi.ai/changelog/2025/9/14).
r
unable to make transitions from agent to another in a squad the same squad is working fine for call.
c
Could you elaborate a little on how you're unable to make transitions? Is this for chat?
r
yes
even if my messages contain a transfer calll message to a certain member in the squad it still goes to the first member of the squad
c
We’ll share an update as soon as more information becomes available. We appreciate your understanding and patience as we continue our investigation.
4 Views