/* Copyright 2026 Marimo. All rights reserved. */ import type { ChatAddToolApproveResponseFunction } from "ai"; import { ShieldQuestionIcon } from "lucide-react"; import React from "react"; import { Button } from "@/components/ui/button"; import { cn } from "@/utils/cn"; import { formatToolName, type ToolApproval } from "./shared"; import { ToolArgsRenderer } from "./tool-args"; interface ToolApprovalCardProps { toolName: string; input: unknown; approval: ToolApproval; onApprove: ChatAddToolApproveResponseFunction; className?: string; } export const ToolApprovalCard: React.FC = ({ toolName, input, approval, onApprove, className, }) => { return (
Approval required:{" "} {formatToolName(toolName)}
); };