validate_mjml
Check MJML syntax and structure for errors to ensure valid email template markup before deployment.
Instructions
Validate MJML syntax and structure
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Treat input as file path | |
| input | Yes | MJML content or file path | |
| validationLevel | No | Validation level | strict |
Input Schema (JSON Schema)
{
"properties": {
"filePath": {
"default": false,
"description": "Treat input as file path",
"type": "boolean"
},
"input": {
"description": "MJML content or file path",
"type": "string"
},
"validationLevel": {
"default": "strict",
"description": "Validation level",
"enum": [
"skip",
"soft",
"strict"
],
"type": "string"
}
},
"required": [
"input"
],
"type": "object"
}