Learn Before
Concept icon
Concept

Returning Errors the Model Can Act On

A tool that returns 'Error 422' teaches the agent nothing. A tool that returns 'since must be an ISO-8601 date; you passed "last week"' turns a dead end into a one-step correction, and is the single highest-leverage change to most tool surfaces.

0

1

Concept icon
Updated 2026-08-21

Tags

Building AI Agents Course

Computing Sciences