{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "tool-call", "title": "Tool Call", "description": "Operational state for tool name, status, duration, and output.", "registryDependencies": [ "@manner/utils", "@manner/manner-theme" ], "files": [ { "path": "registry/manner/ai/tool-call.tsx", "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/cn\"\n\ntype ToolCallProps = React.ComponentProps<\"section\"> & { name: string; status: \"running\" | \"complete\" | \"error\"; duration?: string }\n\nfunction ToolCall({ name, status, duration, children, className, ...props }: ToolCallProps) {\n return (\n
\n
{name}{duration && {duration}}
{status}
\n
{children}
\n
\n )\n}\n\nexport { ToolCall, type ToolCallProps }\n", "type": "registry:ui" } ], "type": "registry:ui" }