-
- {/* Tool Information */}
-
-
-
-
Tool Details
-
-
-
- Server:
-
- {serverName}
-
-
-
- Tool:
-
- {toolName}
-
-
-
- Arguments:
-
- {argumentsCount} parameter{argumentsCount !== 1 ? 's' : ''}
-
-
-
- Status:
-
- {isSuccess && result && !result.isError ? 'Success' : 'Failed'}
-
-
-
-
- {/* Show error type if available */}
- {result?.error_type && (
-
-
-
-
- Error Type: {result.error_type}
-
-
-
- )}
-
- {/* Result Section */}
- {result && (
-
- setExpandedResult(!expandedResult)}
- >
-
-
- {result.success && !result.isError ? (
- <>
-
-
- Execution Result
-
- >
- ) : (
- <>
-
-
- Error Result
-
- >
- )}
-
- {expandedResult ? (
-
- ) : (
-
- )}
-
-
-
- {expandedResult && (
-
-
-
- )}
-
- )}
-
- {/* Timestamps */}
- {(assistantTimestamp || toolTimestamp) && (
-
-
-
-
- {toolTimestamp ? (
- `Completed ${formatTimestamp(toolTimestamp)}`
- ) : assistantTimestamp ? (
- `Started ${formatTimestamp(assistantTimestamp)}`
- ) : (
- ''
- )}
-
-
-
- )}
-
- {/* MCP Info Footer */}
-
-
-
-
- Model Context Protocol (MCP)
-
-
- This tool is provided by an external MCP server, enabling dynamic integration with specialized services and data sources.
-
-
-
-
-