import type { ToolCallMessagePartProps } from "@assistant-ui/react"; import { WrenchScrewdriverIcon } from "@heroicons/react/24/outline"; export default function ToolFallback(props: ToolCallMessagePartProps) { const { toolName, args, result } = props; return (
{toolName}
{formatJson(args)}
{formatJson(result)}