Skip to main content
Every error has the same shape:
code is stable; message is for people and may change. details is present only when there’s more to say.

Codes

In MCP tools

MCP tools return the same error object as the tool result, marked as an error, so your AI tool can explain it or ask you what to do.