Set email design
set_email_designReplace the workspace email design from a design.md file. Returns {brand}. Errors: invalid_design_md, invalid_brand (each has a fix), forbidden (needs a full scope key). Marketing email needs the ## Address section (CAN-SPAM). Next: render_email_preview.
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": {
"design_md": "<design_md>"
},
"name": "set_email_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design_md | Yes | The whole design.md file: front matter (color, font, align, logo) then optional ## Header, ## Footer and ## Address sections. Get the current one with get_email_design and edit it. |