Skip to content

ToolCallErr

A normalized failed tool result, as returned to the gateway.

PropertyTypeDescription
codeToolErrorCodeA stable error code, e.g. INVALID_PARAMS, UNKNOWN_TOOL, TOOL_ERROR.
errorstringA model-safe error message — never a stack trace.
okfalseDiscriminant: the call failed.
retryablebooleanWhether the model should consider retrying.