Collapsible card showing tool name, status chip, duration, and input / output JSON. Uses the existing CodeBlock primitive inside the body.
Production answer
Tool call card is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.
Primary CTAReview Tool call card states
Generative search brief
Tool call card: Collapsible card showing tool name, status chip, duration, and input / output JSON. Uses the existing CodeBlock primitive inside the body.
{ "error": "Shellharbour mirror offline since 09:18" }
Status semantics
Status chip is colour-coded (teal running, green done, red failed) and uses uppercase mono-typed labels for at-a-glance triage. Borders take on a subtle tonal hint so the card is recognisable even at small sizes in a transcript.