Preview a letter (free)
preview_letterFree, no account: lays out the letter (or normalizes the user's PDF), checks both addresses with USPS data, prices it, estimates delivery and flags problems. Returns letter_id, letter_url (the proof page: every page as printed, with the envelope windows) and warnings. Show the user letter_url and the price before sending, then call send_letter(letter_id). Write ONLY the letter's text in body; addresses, date, greeting, sign-off and signature are separate fields. For formal letters (disputes, demands, notices, cancellations) call letter_guide first. $2.49 a 1-page letter ($0.25/extra page), certified $10.99, with return receipt $13.99, international $4.49; previews free.
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": "preview_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | Recipient's mailing address. Use check_address to find a business's address or to verify one. | |
| No | Bring your own PDF instead of body: an upload id from upload_file (f_...), an https URL, or base64. Any page size is fit to US Letter. | ||
| body | No | The letter text in markdown (paragraphs, **bold**, lists, pipe tables). ONLY the body: no addresses, date, greeting is optional, no sign-off or signature (those are separate fields and laid out for you). | |
| date | No | Printed date. Default today ("November 27, 2026"); "none" to leave it off. | |
| font | No | Default serif. handwriting suits personal notes. | |
| from | No | Return address: the user's own name and US mailing address. Required on the first letter, then saved. | |
| color | No | Print in color (photos, logos). Default black and white. | |
| label | No | Your own name for it, e.g. "Deposit demand to Northgate" | |
| merge | No | {{field}} values for body/subject | |
| style | No | ||
| closing | No | Default "Sincerely,". "none" to leave it out. | |
| contact | No | Contact lines for letterhead="full" | |
| subject | No | The Re: line, e.g. "Return of security deposit for 12 Elm St, Apt 4" | |
| mail_date | No | Mail on a later date (YYYY-MM-DD, within 180 days) instead of now | |
| signature | No | script (default, blue ink), handwritten (casual), typed, image (the user's saved signature), none | |
| enclosures | No | Listed as "Enclosures:" after the signature | |
| letterhead | No | Top-right letterhead: none, the sender's name (default), or name + address + contact | |
| mail_class | No | Default first_class. certified = tracking + proof of mailing; certified_return_receipt adds proof of delivery (signature). International mail is always First-Class International. | |
| postscript | No | P.S. line | |
| recipients | No | Mail merge: several recipients (same fields as `to`, plus an optional `merge` map) get the same letter, with {{name}}, {{first_name}}, {{company}} or any {{field}} from their merge map filled in. Use instead of `to`. | |
| references | No | Lines under the subject: account, claim, invoice or case numbers | |
| salutation | No | Default: made from the recipient ("Dear Ms. Lee," or "To whom it may concern:"). "none" to leave it out. | |
| account_key | No | Only for clients without OAuth: a saved sfm_ key. Leave out when connected. | |
| attachments | No | Exhibits printed after the letter (PDFs or photos): upload ids, https URLs or base64. List them in `enclosures` too. | |
| signer_name | No | Printed under the signature (default: the return address name) | |
| double_sided | No | Print on both sides (fewer sheets). Default single-sided. | |
| signer_title | No | Second line under the name, e.g. "Owner, Ridgeline Print Co" | |
| pdf_placement | No | For pdf: auto (default) checks whether page 1 is blank where the envelope windows go and adds an address page only if not | |
| must_arrive_by | No | A deadline (YYYY-MM-DD): the preview warns if delivery likely misses it |