tool-card
Tool execution result card
AItool-card.css
Installation
$
npx skeehn add tool-cardPreview
search_docsrunning
Searching for "dither CSS patterns"...
search_docssuccess
Found 3 results matching your query.
execute_codeerror
TypeError: Cannot read property of undefined
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| name | string | — | Tool name displayed in header |
| status | 'running' | 'success' | 'error' | — | Execution status |
Usage
tool-card.tsx
1import { ToolCard } from '@skeehn/react';23export function ToolResult() {4 return (5 <ToolCard name="search_docs" status="success">6 Found 3 matching documents.7 </ToolCard>8 );9}