Quiz 9 Question 10 of 20

An API integration uses the tool_choice parameter set to {"type": "tool", "name": "generate_report"} to force the model to always call a specific tool. During production, engineers discover that when users ask conversational questions unrelated to report generation, the model still calls generate_report with semantically null arguments. What is the correct architectural fix?

Select an answer to reveal the explanation.

Motivation