dealmachine_post_mail_designs
Create design. Create a mail design from custom HTML, or save a prompt as a draft. Custom HTML with one outer div declaring inline width and height: 4x6 = 1800 x 1200, 6x9 = 2700 x 1800, 6x11 = 3300 x 1800 CSS pixels. Use inline styles only. Stylesheets, scripts, SVG and embedded documents are unsupported. Put spacing, borders and layout inside the outer div; root transforms, margins and padding are unsupported. Each side must be nonempty and at most 2 MB. Invalid or ambiguous canvases return 400 VALIDATION_ERROR before saving. The API parses and sanitizes HTML without running a browser. Publishing requires complete validated front and back HTML. Prompt-only designs cannot be auto-published. Postcard copy: write like a local person, not a polished ad. Say what the sender wants to buy or offer, what the owner gets and how to reach the sender, name the street, and give one next step (call or text the phone, or scan the QR). For investors and wholesalers, lead with seller benefits such as Any Condition, No Repairs Needed, No Closing Fees, Your Timeline or Can Close in 14 Days (use the close time the user gives, when they give one). Unless the user asks for them, avoid "a quick question", "I'll keep this short", "proof of funds", "just call and hear the number", "no meetings", "explore your options", "let's see if there's a fit", "premium", "luxury", "discerning", "white-glove" and long dashes. Keep the look as plain as the words: large readable type and strong contrast, with no gold or luxury styling unless the user asks. A short personal note or typed letter is a complete card; do not add a headline, bullets or extra promises the user did not ask for. When matching a reference, follow its layout and text sizes. Before editing, read the design and keep the wording, photo and signature the user already approved. After saving, read the design back with dealmachine_get_mail_designs_id to show the user the result, as that tool describes. Mailing areas: use landscape; portrait is not currently supported. On the back only, leave BOTH the address block and stamp area blank white. Coordinates below are CSS pixels from the canvas top-left, written as (left, top, width, height): 4x6: address (771, 451, 1029, 749); stamp (1507, 398, 255, 300). 6x9: address (1455, 1051, 1245, 749); stamp (2407, 999, 255, 300). 6x11: address (2055, 1051, 1245, 749); stamp (3007, 999, 255, 300). Keep the full bounds of every image, photo, text block, logo, signature, QR code and decoration outside both rectangles, including borders, shadows and rotated content. Crop or reposition images rather than letting them cross into these areas. The stamp starts above the address block, so clearing only the address block is insufficient. Do not draw stamps, addresses, placeholder labels or dashed guides in these spaces; the printer supplies the mailing information. These reserved rectangles do not apply to the front. Preserve them when editing. This is layout guidance: API HTML validation does not reject overlaps. Ask the user to check the back preview before sending. Requires user approval and confirmed=true before changes or credit use. Writes are never retried automatically.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dealmachine_post_mail_designs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| confirmed | No | Set true only after the user approves this change or credit use. |