Microsoft.Extensions.AI Integration
Cross-SDK comparison
See the centralized MEAI documentation for feature matrices and comparisons across all tryAGI SDKs.
The Resend SDK provides AIFunction tool wrappers compatible with Microsoft.Extensions.AI. These tools can be used with any IChatClient to give AI models email sending, domain management, contact listing, and template management capabilities.
Available Tools
| Tool | Description |
|---|---|
AsSendEmailTool() |
Send an email with from, to, subject, and body |
AsGetEmailTool() |
Get status and details of a sent email by ID |
AsListEmailsTool() |
List sent emails |
AsListDomainsTool() |
List all verified and pending domains |
AsListContactsTool() |
List all contacts |
AsListTemplatesTool() |
List all email templates |
Usage
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |