Open main menu
Article
Quizzes
Tools
EN
Article
Quizzes
Tools
All quizzes
/
AI Tools & Tool Calling
/
What shoul...
What should happen when a tool call returns an error?
Return the error message as the tool_result content so the model can observe it and decide how to adapt
Silently retry the tool call up to three times before informing the model
Throw an exception in the application to halt the agent loop immediately
Return an empty string so the model assumes the tool succeeded with no output
Submit answers