MCPcopy Create free account
hub / github.com/MagicCube/agentara / ToolInput

Function ToolInput

web/src/components/ai-elements/tool.tsx:120–129  ·  view source on GitHub ↗
({ className, input, ...props }: ToolInputProps)

Source from the content-addressed store, hash-verified

118};
119
120export const ToolInput = ({ className, input, ...props }: ToolInputProps) => (
121 <div className={cn("space-y-2 overflow-hidden", className)} {...props}>
122 <h4 className="font-medium text-muted-foreground text-xs uppercase tracking-wide">
123 Parameters
124 </h4>
125 <div className="rounded-md bg-muted/50">
126 <CodeBlock code={JSON.stringify(input, null, 2)} language="json" />
127 </div>
128 </div>
129);
130
131export type ToolOutputProps = ComponentProps<"div"> & {
132 output: ToolPart["output"];

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected