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