can't see function call result and tool call resul...
# support
g
Hi I am trying to get function call result and tool call result messages to be sent to my web client so I can do something with that information. I do receive function call messages but not result messages, ihave the correct client messages enabled. the assistant id:da1afedb-130a-4296-b14e-8faa2c659d0b call id:c11bbc5d-21fe-4f51-82f2-bc19fbec60a8
c
Hello, Sorry for the inconvenience and thanks for reporting this to us. Rest assured we are here to ask a few questions to further assist you. Can you give us details when exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong Regards,
Hey there, we reviewed the logs and confirmed that the assistant successfully called the tool and retrieved the result. However, the prompt currently doesn’t provide enough instructions on how to handle the output. Here’s an example of how the result is being returned:
Copy code
{
  "url": "https://www.thomascdj.com/new-Highland-2025-Jeep-Wrangler-Sport+S-1C4PJXDG0SW574710",
  "name": "2025 Jeep Wrangler Sport S",
  "image": "https://www.thomascdj.com/inventoryphotos/3000/1c4pjxdg0sw574710/ip/1.jpg",
  "price": 48044
}
Since no specific guidance was given, the assistant read out everything (URL, name, image link, and price). To make the response clearer, you can update the instructions like this: > When calling the
get_test_data
*tool, list each result by name and price only. Do not mention the url or image values.* This will ensure the assistant presents the results in a clean and user-friendly way.
g
my problem is not that function calling DID not work, my problem is client sdk did not receive the client message pertaining to function call result.
i didn't receive the client messgae on vapi web sdk in vapi.on events. I am using 2.2.5 version of web sdk. I did receive the client message of function call but not the client vapi.on event message of function call result,
c
Hello, We are truly sorry for the delay. Can you confirm if you’ve set up the event listener for
client_message
in your Web SDK 2.2.5 implementation? You mentioned you’re receiving the function call client message but not the function call result. Did the
vapi.on("client_message", …)
event trigger at all for the result, or was it completely missing?
2 Views