Tool
Renders a single tool invocation with header, collapsible input and output.
$
Registry itembunx shadcn@latest add @nx-ui/ai-toolUsed byai-chat
Running
The call has its parameters but is still awaiting a result — the header shows a pulsing Running badge.
Completed
Once the tool returns, the output section renders the JSON result and the badge flips to Completed.
Errored
When a call fails, ToolOutput renders the error text in a destructive-toned block.