Apply safe mechanical fixes
design_autofixApplies deterministic fixes that never change how the email looks in good clients (doctype, lang, meta tags, role=presentation, table resets, display:block images, removing scripts) and returns the fixed HTML with the remaining lint findings that need judgement.
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": "design_autofix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| kind | No | marketing | |
| lang | No | e.g. en-AU | |
| title | No | Usually the subject line. |