Magoo Component UI logo Magoo Component UI
← Catalog

Tool Call Card

tool-call-card molecule experimental

A collapsible card showing an AI tool invocation - its name, arguments, result, and status.

Also in: Cards

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default
done search_web

Arguments

{
  "query": "weather in Paris tomorrow",
  "max_results": 3
}

Result

{
  "location": "Paris, FR",
  "temp_c": 14,
  "conditions": "Light rain"
}
Error
error fetch_url

Arguments

{
  "url": "https://internal.example.com/report.pdf"
}

Result

Error: 403 Forbidden - the requested resource requires authentication.

Props

NameTypeReq
tool string ✓
args string ✓
result string
status enum (running | done | error)

Related components

Use cases

cardlist-item WCAG AA SEO 20 dir: both ai-generated