import { ChatStoreMessage } from "@/app"; interface Props { chat: ChatStoreMessage; copyToClipboard: (text: string) => void; } export function MessageToolCall({ chat, copyToClipboard }: Props) { return (
Type: {tool_call?.type}
Function: copyToClipboard(tool_call.function.name)} > {tool_call.function.name}
Arguments: copyToClipboard(tool_call.function.arguments)} > {tool_call.function.arguments}