Sureui/tool Approval – shadcn/ui Component by registrydirectory | shadcnregistry
Sureui/tool Approval
ui
[SureUI] Approve or deny an AI SDK tool call, or a batch of them, with a gesture that matches its risk: undo for low, click again for medium, hold for high and a typed phrase for critical. Pass addToolApprovalResponse from useChat as onRespond.