AI Tool Call Card
Agent run console where each tool call shows collapsible parameters and results.
About this block
What it's 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.
For interactive editing of tool schemas is required instead of run inspection, use AI Tool Registry. For a global timeline of multiple parallel agents is required without focus on the individual call, use AI Agent Run Trace.
Includes
- Collapsible input
- Collapsible output
- Status indicator
- Duration tracking
- Copy payload
- Error recovery
- Empty state
- Keyboard navigation
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
- 1 template or blueprint on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add ai-tool-call-cardnpx shadcn@4.17.0 add @agentic-ui/ai-tool-call-cardUsed in
- Type
- Block
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
- None beyond your project's React and Next.js
- Registry dependencies
lib-primitives- Files
1 file
- components/agentic-ui/ai-tool-call-card/index.tsx
Related components
AI Action Confirmation
Operations agent that asks to drop production tables and shows the rows, size and last use of each one.
Details and live previewAI Agent Memory Viewer
Assistant settings where the user reviews and corrects what the agent knows about them (time zone, style preferences).
Details and live previewAI Agent Status Badge
Header of an agent run that moves from working to waiting-approval and opens the approval on click.
Details and live previewAI Chat Empty State
Assistant chat with no messages that offers four starting points configured by the workspace.
Details and live preview