Expand description
Email tool — wraps SmtpClient behind the AgentTool interface.
Provides agents with email sending capabilities. Agents compose HTML, manage templates, and decide content — we only provide the SMTP pipe.
§Actions
| Mode | Description | Required params |
|---|---|---|
| Send (direct) | Send an HTML email | subject, body_html |
| Send (template) | Send using a saved template | subject, use_template |
| Save template | Send + save as template | subject, body_html or use_template, save_template_as |
| List templates | List available templates | list_templates: true |
Structs§
- Email
Tool - Email tool — provides
send_emailto agents.