People in the Loop

The Lexicon

Structured errors (isError, errorCategory, isRetryable)

When a tool fails, return machine-readable error fields so the agent can plan recovery. Retry a timeout; never retry access-denied. "Something went wrong" tells the agent nothing.

Tools & MCP