Send email
send_emailSend an email to one or more recipients (via Resend, from a shared diairize.com address). reply_to defaults to the tenant's notification_email if set. Optionally link the send to a business record via entity_type/entity_id for the audit trail (email_send_log).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"subject": "<subject>"
},
"name": "send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient email address(es) | |
| html | No | HTML body — provide html or text (or both) | |
| text | No | Plain-text body | |
| subject | Yes | ||
| agent_id | No | ||
| reply_to | No | ||
| entity_id | No | ||
| from_name | No | Display name, e.g. the tenant's company name (default 'diAIrize') | |
| entity_type | No |