Tool Call is happening but with empty arguments.
# support
h
call id: 84a73d74-63a7-4d3d-9bd2-ef30f66562d7 org id: c4701b9f-d595-449d-b575-926d688838a1
@User
@Vapi Support Bot
v
Based on your issue with empty arguments in tool calls, this could be due to incorrect variable handling. Check your variable referencing and interpolation syntax in your tool configuration. Here's how to debug: 1. Go to the [Vapi Dashboard](https://dashboard.vapi.ai/calls) and locate your call using the ID you provided 2. Verify your tool call response format follows this structure:
Copy code
json
{
  "results": [{
    "toolCallId": "your-actual-tool-call-id",
    "result": "Your response data"
  }]
}
3. Ensure JSON responses are properly stringified without line breaks For further assistance, contact support@vapi.ai with your call ID and org ID. Sources: - [Discord discussion about variable handling](https://discord.com/channels/1211482211119796234/1315677399026765855) - [Discord discussion about tool call response format](https://discord.com/channels/1211482211119796234/1325000684231196775) - [Discord discussion about JSON response requirements](https://discord.com/channels/1211482211119796234/1342315282198298729)
Based on your issue with empty arguments in tool calls, this could be due to incorrect variable handling. Check your variable referencing and interpolation syntax in your tool configuration. Here's how to debug: 1. Go to the [Vapi Dashboard](https://dashboard.vapi.ai/calls) and locate your call using the ID you provided 2. Verify your tool call response format follows this structure:
Copy code
json
{
  "results": [{
    "toolCallId": "your-actual-tool-call-id",
    "result": "Your response data"
  }]
}
3. Ensure JSON responses are properly stringified without line breaks For further assistance, contact support@vapi.ai with your call ID and org ID. Sources: - [Discord discussion about variable handling](https://discord.com/channels/1211482211119796234/1315677399026765855) - [Discord discussion about tool call response format](https://discord.com/channels/1211482211119796234/1325000684231196775) - [Discord discussion about JSON response requirements](https://discord.com/channels/1211482211119796234/1342315282198298729)
Based on your issue with empty arguments in tool calls, this could be due to incorrect variable handling. Check your variable referencing and interpolation syntax in your tool configuration. Here's how to debug: 1. Go to the [Vapi Dashboard](https://dashboard.vapi.ai/calls) and locate your call using the ID you provided 2. Verify your tool call response format follows this structure:
Copy code
json
{
  "results": [{
    "toolCallId": "your-actual-tool-call-id",
    "result": "Your response data"
  }]
}
3. Ensure JSON responses are properly stringified without line breaks For further assistance, contact support@vapi.ai with your call ID and org ID. Sources: - [Discord discussion about variable handling](https://discord.com/channels/1211482211119796234/1315677399026765855) - [Discord discussion about tool call response format](https://discord.com/channels/1211482211119796234/1325000684231196775) - [Discord discussion about JSON response requirements](https://discord.com/channels/1211482211119796234/1342315282198298729)
Check your tool call response format - it should be properly structured JSON with the correct `toolCallId`:
Copy code
json
{
  "results": [{
    "toolCallId": "YOUR_ACTUAL_TOOL_CALL_ID",
    "result": "Your result as a single-line string without line breaks"
  }]
}
For JSON responses, ensure they're properly stringified. If issues persist, contact support at support@vapi.ai with your call ID and org ID. Sources: - [Discord Channel](https://discord.com/channels/1211482211119796234/1342176467714572400) - [Discord Channel](https://discord.com/channels/1211482211119796234/1325000684231196775)
Check your tool call response format - it should be properly structured JSON with the correct `toolCallId`:
Copy code
json
{
  "results": [{
    "toolCallId": "YOUR_ACTUAL_TOOL_CALL_ID",
    "result": "Your result as a single-line string without line breaks"
  }]
}
For JSON responses, ensure they're properly stringified. If issues persist, contact support at support@vapi.ai with your call ID and org ID. Sources: - [Discord Channel](https://discord.com/channels/1211482211119796234/1342176467714572400) - [Discord Channel](https://discord.com/channels/1211482211119796234/1325000684231196775)
Check your tool call response format - it should be properly structured JSON with the correct `toolCallId`:
Copy code
json
{
  "results": [{
    "toolCallId": "YOUR_ACTUAL_TOOL_CALL_ID",
    "result": "Your result as a single-line string without line breaks"
  }]
}
For JSON responses, ensure they're properly stringified. If issues persist, contact support at support@vapi.ai with your call ID and org ID. Sources: - [Discord Channel](https://discord.com/channels/1211482211119796234/1342176467714572400) - [Discord Channel](https://discord.com/channels/1211482211119796234/1325000684231196775)
s
ccing: @Kings_big💫
k
Please give more info of what you're experiencing thanks
h
first tool response doesnt get used by another tool payload, it sends it empty
k
Ensure the first tool returns the correct toolCallId and result in its response, tools are properly configured, and your backend correctly handles and forwards data between chained tools.
h
i do not want backedn to handle it
instead it must use the response of first tool which is now in its context, so it must use the context to create payload for next tool
anyways i solved it by using different arch
k
Nice
2 Views