Extract Plain-Text MIME Fallback
extract_plain_text_fallbackConverts an HTML email into a clean, RFC 5322-wrapped text/plain MIME companion, preserving CTA links inline as 'Label (https://...)' and stripping invisible ͏ / ‌ preheader padding hacks. Pricing: $0.001 USD per HTML-to-plain-text MIME fallback conversion (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.
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": {
"html": "<html>"
},
"name": "extract_plain_text_fallback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML email body to convert into a formatted text/plain MIME fallback with inline CTA URLs and stripped preheader padding. | |
| wrapWidth | No | Soft line-wrap width in characters (default 78 per RFC 5322; URLs are never split). |