Pattern

Tool results and error responses for recovery

Shape what a tool returns — both success results and errors — so the model can decide what to do next: trim results to the signal the model needs, and return errors as structured, actionable responses rather than raw stack traces.

Classification Shaping tool results and errors so the model can act and recover. ACI design.

Full entry

The complete treatment — problem, how it works, when to use it, sources, and examples — lives in the volume below.

Browse the full pattern index or the catalog.

Search the catalog