Every tool call your agent makes prints as a little thermal receipt with its time, tokens and cost; tap one to unroll the arguments and result, failed calls get a red VOID stamp and a Retry, and a whole run stacks up on a spike with a running total.
akatool call·function call
Run this in any project set up for the shadcn CLI. It copies the Tool Receipt source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/tool-receipt.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ToolReceipt } from "@/components/tool-receipt";
export default function Page() {
return <ToolReceipt />;
}A free React component in the Mission Control collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Tool Receipt source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| callrequired | ToolReceiptCall | — |
| defaultOpen | boolean | false |
| open | boolean | — |
| onOpenChange | (open: boolean) => void | — |
| onRetry | (id: string) => void | — |
| currency | string | "$" |
| className | string | — |
| punched | boolean | false |