Debugging Variable Extraction in Squads
# support
h
@Vapi @Vapi Support Bot @VAPI Tech @GeraDeluxer I'm working with Squads and having trouble debugging variable extraction between agents. Here's my situation: - Agent 1 extracts variables using a handoff tool - Agent 2 receives these variables and continues the conversation ## What I Need A way to inspect/debug the actual variable values that are extracted and passed from Agent 1 to Agent 2 during handoffs. Are there any debugging best practices for Squad variable passing?
v
To inspect the variables extracted and passed between agents in a Squad handoff, use the Vapi dashboard's Call Logs: 1. Go to Observe > Call Logs in your dashboard. 2. Select your Squad call and scroll to the Tool Execution section. 3. Here, you'll see the actual variable values extracted and handed off. Example:
Copy code
{
  "extractedVariables": {
    "customerName": "John Smith",
    "issueType": "technical"
  }
}
This lets you verify exactly what data Agent 2 receives from Agent 1 during the handoff. For more, see the [debugging documentation](https://docs.vapi.ai/debugging). Source: - [Debugging documentation](https://docs.vapi.ai/debugging)
h
@Vapi @Vapi Support Bot ?
v
If you don't see the Tool Execution section in your Call Logs, try this quick check: 1. Go to Observe > Call Logs in your dashboard. 2. Select the relevant call, then look for a section labeled Tool Execution or similar—sometimes it may appear as a collapsible panel or under "Details". If it's still missing, your tool may not have executed or there could be a configuration issue. Double-check your tool setup and try a test call; the extracted variables should appear like this:
Copy code
{
  "extractedVariables": {
    "customerName": "John Smith",
    "issueType": "technical"
  }
}
For more, see the [debugging documentation](https://docs.vapi.ai/debugging). Source: - [Debugging documentation](https://docs.vapi.ai/debugging)