+ {isStandardizedFormat ? (
+ <>
+ {hasError && {extractErrorMessage(toolOutput.error)}
}
+ {hasResult && (
+
+
+ {JSON.stringify(toolOutput.result, null, 2)}
+
+
+ )}
+ >
+ ) : toolResult?.result ? (
+ JSON.stringify(toolResult.result, null, 2)
+ ) : undefined}
+
+