L
LocalMode

Tool Approval · LocalMode

A human-in-the-loop confirmation card that gates a tool call before execution (pending tool + args with approve/reject), then re-renders read-only as an immutable receipt. Pairs with Tool and feeds the choice back into the agent loop. Data source: useAgent.

npx shadcn@latest add https://localmode.ai/r/ui/conversation/tool-approval.json
Preview Tool Approval on LocalMode's site (opens in a new tab)
Loading the source for ui/conversation/tool-approval…

ui/conversation/tool-approval