fatma
12/17/2025, 11:46 PMAI Evy
12/17/2025, 11:46 PMAI Evy
12/17/2025, 11:46 PMtranscript_with_tool_calls field captures when (at what utterance, which word) a tool was invoked and what the result was [(1) ]() [(2) ]()
- Function calling allows the LLM to "intelligently choose to output a JSON object containing arguments to call one or many functions" [(3) ]()
The behavior you're describing—where the agent proposes new time slots without re-calling the calendar tool—is likely driven by the underlying LLM's decision-making. The LLM decides when to trigger a function call based on the conversation context . If the LLM determines it can respond using information already in the conversation history (including previous tool results) , it may not issue a new tool call.
To ensure the agent always fetches fresh data, you could:
- Adjust your prompt to explicitly instruct the agent to re-check availability before offering new slots
- Design your function description to clarify when the tool should be called
Check out these potentially useful sources:
- [Integrate Function Calling]()
- [LLM WebSocket]()
Would you like me to provide a general answer about how LLMs typically handle tool result caching?AI Evy
12/17/2025, 11:46 PMAI Evy
12/17/2025, 11:46 PMfatma
12/17/2025, 11:54 PMfatma
12/17/2025, 11:56 PMAI Evy
12/17/2025, 11:56 PMAI Evy
12/17/2025, 11:56 PMAI Evy
12/17/2025, 11:56 PMAI Evy
12/17/2025, 11:57 PM