Back to components
ComponentAgentFree

Function Call Receipt React component

A clear record of one tool call by an AI agent: what went in, what came back, how long each part took, and what it cost, set out like a receipt.

About the Function Call Receipt component

Function Call Receipt makes a single tool call easy to check. It shows what the agent sent, what came back and where the time went, the way a receipt itemises a purchase.

Copy either side as JSON for debugging, or run the call again. It's useful anywhere people need to trust what an agent actually did.

When to use it

Use it in agent traces, audit views and developer tools.

Hide secrets before passing data in, since everything is shown as it arrives.

Installation

Add the Function Call Receipt component to your project with the shadcn CLI. It lands in components/function-call-receipt.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/function-call-receipt

More Agent components

Capability Matrix
Free
Recurring Jobs Calendar
Free
Step Plan Outline
Free
Goal vs Outcome Card
Free
Live Run Console
Free
Model Failover Path
Free