GPT realtime fails to respond with function call r...
# support
d
Call: 019b0edc-fea5-7ff2-a144-23bde81ed2db Model: GPT Realtime Tool call finishes, but assistant only says: "I'm checking on that for you right now. Let's wait just a moment for the response." Very frustrating.
Copy code
{
  "id": "log-28",
  "level": 30,
  "time": 1765480937089,
  "timestamp": 1765480937089000000,
  "severityText": "INFO",
  "severityNumber": 9,
  "body": "Tool calls finished",
  "attributes": {
    "category": "tool",
    "callId": "019b0edc-fea5-7ff2-a144-23bde81ed2db",
    "orgId": "9fc10dfb-0f59-4ced-8157-345511dd806a",
    "runDurationMs": 5272,
    "totalResults": 1,
    "errorsCount": 0,
    "results": [
      {
        "name": "get_response_2",
        "toolCallId": "call_Dujyv9wGmxRLsp1U",
        "type": "function",
        "serverUrl": "https://trustful-uncherishing-braiden.ngrok-free.dev",
        "result": "Our dentures are made of high quality materials.",
        "metadata": {}
      }
    ]
  }
}
v
Try this: Make sure your webhook returns exactly this JSON structure with HTTP 200 and a single-line string for the result (no
\n
line breaks):
Copy code
json
{
  "results": [
    {
      "toolCallId": "call_Dujyv9wGmxRLsp1U",
      "result": "Our dentures are made of high quality materials."
    }
  ]
}
Double-check for hidden line breaks and validate your JSON—this is the most common reason the assistant ignores the tool response. See the [Custom tools troubleshooting guide](https://docs.vapi.ai/tools/custom-tools-troubleshooting) for more details. Source: - [Custom tools troubleshooting](https://docs.vapi.ai/tools/custom-tools-troubleshooting)
d
I am.
Copy code
return {
        "results": [
            {
                "toolCallId": tool_call_id,
                "result": "Our dentures are made of high quality materials."
            }
        ]
    }
c
GPT Realtime is currently having issues with tool calling and we're raising this issue with the team for timelines
c
Any updates here on the realtime tool call response handling?
c
custom tools do not work with realtime models, however API request tools do work. need to some more testing with it but if you have any info on any tests please share
h
hello Kyle, is integration with custom tools and realtime models in future plan, or it is not possible at all. thank you.
c
its on the roadmap but no ETA currently