Skip to content

ToolErrorOptions

Options for ToolError.

PropertyTypeDescription
data?unknownOptional structured data attached to the error (carried to logs, not the model).
retryable?booleanWhether the model should consider retrying the call. Defaults to false.