AI and LLMs · Middle · Question 11 of 75

A tool call fails with an error. What should the app usually send back to the model?

Show the answer

Correct answer: A clear error result, so the model can retry or change approach

Explanation

Good error messages ("date must be YYYY-MM-DD") let the model fix its call. Hiding errors leads to confident wrong answers.

Further reading

Problem with a question

AI and LLMs · Middle · question 11

Test yourself

Take the AI and LLMs · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz