Give a Tool Failure a Shape the Agent Can Use
Sep 15 · 2026A tool response that says only “something went wrong” leaves the next action to guesswork. Return a contained error that distinguishes useful recovery cases. For an order lookup, separate “not found,” “not authorized”…
