I am currently building my chat in my app with the chatkit sdk. I am following the guide and also added a personalize Agent to my chatkit server, attaching my own mcp server too.
I am using the recommended method to stream the agent response:
async for event in stream_agent_response(agent_context, result)
But I notice that it is not giving me back the tool call, which i need for context to my agent, to use things like IDs, only gives back the final message. Any idea why this is not working? Should I change this implementation to be able to save this tool output?