https://retellai.com/?utm_source=discord&utm_medium=seo logo
tool result doesnt match what my back end sends, i...
# ❓・ai-evy-support
j
@AI Evy tool result doesnt match what my back end sends, is there a tool result caching?
a
Thanks for tagging me @japhetgan. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, there is no explicit mention of tool result caching in Retell AI's LLM WebSocket protocol [(1) ]() . However, there have been reported issues with tool call results not matching expected behavior. One Discord user reported that tool call invocations and results were missing content in the transcript, where tool calls showed up with
tool_call_id
but had no 'content' key in both live and post-call transcripts [(2) ]() . Another user experienced issues where tool call result messages weren't being delivered to the Retell chat widget as expected [(3) ]() . To properly send tool call results through the LLM WebSocket, you should use the tool call result event with
response_type
set to
"tool_call_result"
[(1) ]() . Make sure you're: 1. Sending tool call results with the correct format through the LLM WebSocket 2. Including the
tool_call_id
that matches the original invocation 3. Verifying that your backend is sending the complete payload as expected If the mismatch persists, I'd recommend: - Checking your call logs to compare what your backend sends versus what appears in the transcript - Reviewing the
transcript_with_tool_calls
field if you've enabled it in your config event - Reaching out to Retell support with specific call IDs showing the discrepancy Would you be able to share a specific call ID where you're seeing this mismatch? That would help diagnose whether this is a caching issue or something else.
​ To learn more, see the sources I considered: [[1] LLM WebSocket](https://docs.retellai.com/api-references/llm-websocket) [[2] Tool call invocations and results missing content in the transcript](https://discord.com/channels/1186424376300679209/1310721338062667797) [[3] Tool call result message is not being delivered to retell chat widget](https://discord.com/channels/1186424376300679209/1401900225391497288) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.