actionable error

An error message written for the model that says what failed and how to fix the call, so its retry can succeed.

In more detail

"Invalid input" teaches nothing; "no task has id 41; call list_tasks to find valid ids" lets the model recover on the next turn. Mark tool failures with is_error and put the message in the content.

Related terms

Taught in

References

Certification courses