# AI Tool Call Card

Agent run console where each tool call shows collapsible parameters and results.

- id: `ai-tool-call-card`
- Page: https://agentic-ui-kit.com/components/ai-tool-call-card
- Live preview: https://agentic-ui-kit.com/live/component/ai-tool-call-card

## Install

```bash
agentic-ui add ai-tool-call-card
npx shadcn@4.17.0 add @agentic-ui/ai-tool-call-card
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york)
- **Capabilities:** collapsible-input, collapsible-output, status-indicator, duration-tracking, copy-payload, error-recovery, empty-state, keyboard-navigation
- **Intents:** orchestrate-agents, track-status, explore-detail, audit-trail, execute-flow
- **Suits domains:** ai-agents, ai-workspace, devtools, operations, analytics
- **Interaction:** collapsible-input, collapsible-output, copy-payload, error-recovery, keyboard-navigation
- **Screen role:** detail
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** agent run console where each tool call shows collapsible parameters and results, LLM observability panel with the duration of calls to external APIs and error inspection, tool sandbox where the developer can retry failed runs or copy payloads, multi-agent run timeline where the payload sent to each tool is audited
- **Avoid when:** the interaction does not involve function or tool calls (use standard informational cards), interactive editing of tool schemas is required instead of run inspection (use ai-tool-registry), a global timeline of multiple parallel agents is required without focus on the individual call (use ai-agent-run-trace)
- **Preserve when adapting:** keyboard-contract, collapsible-disclosure-model, status-and-error-announcements, copy-feedback-cycle, error-retry-mechanism
- **Replace when adapting:** domain-copy, tool-name-and-namespace, payload-formatter
- **Adaptation effort:** low
- **Coupling:** low
- **Quality score:** 9.2/10
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** badge, button
- **Motion:** profile subtle, library css, reduced-motion fallback yes
- **Used in:** AI App (blueprint)
- **Registry dependencies:** lib-primitives
