L
LocalMode

Tool · LocalMode

A single tool invocation card with a status taxonomy (pending/running/streaming/completed/error), expandable ToolInput/ToolOutput, a per-tool renderer registry with a Fallback for unregistered tools, and a ToolGroup that collapses consecutive calls behind a stacked-icon summary. Data source: useAgent / wllama/transformers tool calling.

npx shadcn@latest add https://localmode.ai/r/ui/conversation/tool.json
Preview Tool on LocalMode's site (opens in a new tab)
Loading the source for ui/conversation/tool…

ui/conversation/tool