Preview a postcard
quote_and_preview_postcardCreate a preview of a physical postcard draft with a front image and back message. Use this when the user wants to make, create, design, or preview a postcard through Letter IRL. Requires a real U.S. recipient mailing address. Its answer says what sending it takes and when the mail usually arrives. If the user refers to an image already generated, shown, or attached earlier in this conversation, call this tool first to reuse that image. Otherwise prefer a direct file attachment for the image, pass imageUrl when a generated or hosted image is already available, and use upload_image only if no attachment or usable imageUrl made it through after a direct preview attempt. If sender is omitted, the saved return address is used automatically. The person sends it on the page request_send links to: call request_send and give the person its link.
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": {
"recipient": "<recipient>",
"message": "<message>"
},
"name": "quote_and_preview_postcard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | The postcard's size: 6x9 (the default), 6x4 for a 4 x 6 in postcard, or 6x11 for an 11 x 6 in one. A 4x6 holds 11 lines on its back, about 350 characters of prose; an 11x6 16 lines, about 900. Letter packs and gift letters pay only for a 6x9: a 4x6 or 11x6 is paid with Pay & Send. | |
| image | No | ||
| place | No | For the greetings layout only, and needed there: the place it greets from, such as "Asheville", printed in capitals. | |
| images | No | For a collage front: two to four photos attached in the conversation, in the order they should appear. The arrangement follows the count: two side by side; three, one large with two beside it; four, two by two. Give images or imageUrls, never together with image or imageUrl. Leave it out for a single photo. | |
| layout | No | The front's layout: full_bleed (the default), the photo across the whole front; border, the photo in a white border with a caption under it; or greetings, "Greetings from" a place over the photo. | |
| sender | No | ||
| caption | No | For the border layout only: one handwritten line under the photo, such as "Cape Cod, August 2026". Leave it out for none. | |
| message | Yes | Must fit the back of the postcard, which is measured in lines: 16 on a 6x9, about 500 characters of prose. size gives the other sizes' room. | |
| arriveBy | No | Optional. The date the mail should arrive by, YYYY-MM-DD, such as a birthday or an event. Letter IRL holds the mail and sends it to the printer in time; USPS does not guarantee First-Class dates. Omit it to mail as soon as possible. | |
| imageUrl | No | ||
| imageUrls | No | For a collage front: two to four links to photos, in the order they should appear, each a public image link or an imageUrl from confirm_uploaded_image. The arrangement follows the count: two side by side; three, one large with two beside it; four, two by two. Give imageUrls or images, never together with image or imageUrl. Leave it out for a single photo. | |
| recipient | Yes | ||
| sendAsGift | No | Set true only when the user asks to send this as their gift letter: it is free and adds a printed page with a card for the recipient. Leave it out otherwise; a gift letter is then used only if the balance cannot pay. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | While the 4x6 and 11x6 are offered: the postcard's size | |
| place | No | The place the greeting names | |
| layout | No | While postcard layouts are offered: the front's layout | |
| caption | No | The border's caption, when it has one | |
| draftId | Yes | ||
| message | No | ||
| giftCard | No | ||
| schedule | No | ||
| canSendNow | Yes | ||
| senderCity | No | ||
| senderName | No | ||
| senderState | No | ||
| arrivalWindow | No | The arrival dates that can be chosen now: what can be scheduled, not when this mail arrives | |
| collagePhotos | No | How many photos the front draws, when it is a collage | |
| deliveryClass | No | ||
| recipientCity | No | ||
| recipientName | No | ||
| contentVersion | No | The version of this mail as it is now: send it with the send, so what is mailed is what the person saw | |
| draftExpiresAt | Yes | ||
| recipientState | No | ||
| addressWarnings | No | ||
| lettersRequired | Yes | ||
| sendEligibility | Yes | ||
| deliveryEstimate | No | ||
| reasonCannotSend | No | ||
| senderPostalCode | No | ||
| deliveryDisclaimer | No | ||
| senderAddressLine1 | No | ||
| senderAddressLine2 | No | ||
| recipientPostalCode | No | ||
| giftLettersAvailable | No | ||
| estimatedDeliveryDays | No | ||
| recipientAddressLine1 | No | ||
| recipientAddressLine2 | No | ||
| savedReturnAddressNote | No | ||
| usedSavedReturnAddress | No | ||
| senderAddressValidation | No | ||
| recipientAddressValidation | No |