AI.07 / Conversation

Tool call card

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.

parts_lookupDone412ms
Input
JSON
{  "make": "Toyota",  "model": "Hilux",  "engine": "2.8L 1GD-FTV",  "year": 2018,  "category": "cat-back exhaust"}
Output
JSON
{  "results": [    {      "sku": "RB-HXL-30-304",      "name": "Redback 3\" 304 stainless cat-back",      "noise_static_db": 89.1,      "price_aud": 1184,      "in_stock": 6    },    {      "sku": "MF-HXL-MID-409",      "name": "Magnaflow mid-pipe + factory tip",      "noise_static_db": 85.4,      "price_aud": 684,      "in_stock": 12    }  ]}
bay_availabilityRunning
Input
JSON
{  "bay": 2,  "duration_minutes": 120,  "preferred_window": "Thursday morning"}
warehouse_stock_queryFailed1820ms
Input
JSON
{  "stock_id": "RB-HXL-30-304",  "warehouse": "shellharbour"}
Output
JSON
{ "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.