ToolCallErr
A normalized failed tool result, as returned to the gateway.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
code | ToolErrorCode | A stable error code, e.g. INVALID_PARAMS, UNKNOWN_TOOL, TOOL_ERROR. |
error | string | A model-safe error message — never a stack trace. |
ok | false | Discriminant: the call failed. |
retryable | boolean | Whether the model should consider retrying. |