agent_preview_email
Read-only dry-run validation and Markdown-to-HTML compilation preview for autonomous AI agent emails (0.005 USDC via x402 on Base). Validates recipients and returns compiled HTML byte metrics without sending external emails.
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": "agent_preview_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient email address (or comma-separated list of recipients) | |
| html | No | Optional raw HTML body override | |
| text | No | Optional plain text body fallback | |
| replyTo | No | Optional Reply-To email address | |
| subject | Yes | Email subject line | |
| markdown | No | Markdown email content (automatically compiled into responsive HTML email) |