Force Tool Trigger Issue

I have desired output to trigger from tool but even after instructing it still it is overrding and providing the answer from history.

I need to pass history to it for params and context

When you’re binding tools, if you want to enforce that the model ONLY calls tools you can set the “tool_choice” param to any, which enforces that it makes at least one tool call