Skip to content

Function: EmailApprovalCard()

EmailApprovalCard(__namedParameters): Element

A drop-in approval card for the send_email tool: the email preview plus Approve / Deny actions. Wire onApprove / onDeny to whatever resumes the suspended tool call (e.g. the AI-SDK addToolResult).

EmailApprovalCardProps

Element