+
Called With
+
+
{JSON.stringify(tool.callData.arguments, null, 2)}
diff --git a/ui/litellm-dashboard/src/components/view_logs/ToolsSection/JsonToolView.tsx b/ui/litellm-dashboard/src/components/view_logs/ToolsSection/JsonToolView.tsx
index 2a2ceb644dc..d8431e52a51 100644
--- a/ui/litellm-dashboard/src/components/view_logs/ToolsSection/JsonToolView.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/ToolsSection/JsonToolView.tsx
@@ -20,19 +20,7 @@ export function JsonToolView({ tool }: JsonToolViewProps) {
};
return (
-
+
{JSON.stringify(toolJson, null, 2)}
);
diff --git a/ui/litellm-dashboard/src/components/view_logs/ToolsSection/ToolItem.tsx b/ui/litellm-dashboard/src/components/view_logs/ToolsSection/ToolItem.tsx
index 112364f5ff3..26b39579859 100644
--- a/ui/litellm-dashboard/src/components/view_logs/ToolsSection/ToolItem.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/ToolsSection/ToolItem.tsx
@@ -5,6 +5,7 @@
import { useState } from "react";
import { ChevronDown, ChevronRight, Wrench } from "lucide-react";
import { Badge } from "@/components/ui/badge";
+import { cn } from "@/lib/cva.config";
import { ParsedTool } from "./types";
import { ToolExpandedContent } from "./ToolExpandedContent";
@@ -16,34 +17,23 @@ export function ToolItem({ tool }: ToolItemProps) {
const [expanded, setExpanded] = useState(false);
return (
-
+
{/* Header Row - Always Visible */}
setExpanded(!expanded)}
- style={{
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
- padding: "12px 16px",
- cursor: "pointer",
- background: expanded ? "#fafafa" : "#fff",
- transition: "background 0.2s",
- }}
+ className={cn(
+ "flex cursor-pointer items-center justify-between gap-3 px-4 py-3 text-card-foreground transition-colors",
+ expanded ? "bg-muted" : "bg-card",
+ )}
>
-
+
-
+
{tool.index}. {tool.name}
-
+
{tool.called ? "called" : "not called"}
{expanded ? (
@@ -55,13 +45,7 @@ export function ToolItem({ tool }: ToolItemProps) {
{/* Expanded Content */}
{expanded && (
-