Agent Tool Approval
Human-in-the-loop approval interface for agent tool calls, letting users review parameters, assess risk, and approve or reject actions before execution.
Features
- Pending Approval Card: Each tool call surfaces as a reviewable card with clear approve/reject actions
- Risk Assessment: Visual risk indicator helps users gauge the potential impact of each tool invocation
- Parameter Preview: Expandable parameter details so users can inspect exactly what the agent intends to do
- Approval History: Scrollable log of past decisions with timestamps and outcome badges
- Execution Results: After approval, see the tool's output alongside the original request
Examples
Tool Call Review
Tool Approval Required
The agent needs your permission before executing a tool.
Medium Risk
database_query
Execute a read-only SQL query against the analytics database
Parameters
query:SELECT user_id, COUNT(*) AS sessions FROM events WHERE ts > NOW() - INTERVAL '7 days' GROUP BY user_id ORDER BY sessions DESC LIMIT 20
database:analytics_prod
timeout:30s
Agent Reasoning
The user asked for the most active users this week. This query fetches the top 20 users by session count from the production analytics database over the last 7 days.
[
{ "user_id": "u_38291", "sessions": 142 },
{ "user_id": "u_10482", "sessions": 118 },
{ "user_id": "u_92841", "sessions": 97 }
]Approval Timeline
3 decisions
Installation
npx shadcn add "https://agents-ui-kit.com/c/agent-tool-approval.json"