One tool call, through all four of its states: running, done, failed and refused. A denied call reads differently from one that simply errored, and expanding either prints what went in or came back, as a code block you can copy in one click. Takes an AI SDK tool part, whichever tool it is.
npx shadcn@latest add @shadcncraft/tool-part-1Sign in or get a license at ShadcnCraft to see its source and install it.