Create postcard draft
send_postcardUse when someone wants a postcard made or sent from a photo. Creates an unpaid draft from one photo, with an optional note and recipient address, and returns a link to it; it never charges money or mails a postcard. The person finishes the note and address and pays on the website: $5 with postage included for a 4×6 card, mailed from the US to 194 countries.
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": "send_postcard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | The note for the back of the card. Up to 350 characters. | |
| photo | No | A file reference to an image uploaded or generated in this conversation, with download_url and file_id filled in by the host. Exactly one of photo, photo_base64 or photo_url is required. | |
| challenge | No | The id of a challenge this tool answered with, and the answers to its four questions in the order asked, each a short string. The proof-of-work question takes a few million SHA-256 hashes. | |
| photo_url | No | A public https:// URL of an image that is already online. | |
| recipient | No | Whatever is known of the recipient's mailing address; every field is optional. country is an ISO 3166-1 alpha-2 code such as US. | |
| photo_base64 | No | The image file's own bytes as base64 or a data: URL. JPEG, PNG, WebP or HEIC, up to about 10 MB. | |
| is_ai_generated | No | True when the image is AI-generated. The website then keeps the original and makes an illustrated version only if the person chooses Illustrated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The link the person opens to finish and pay for the postcard. It expires after about a week. | |
| continue_url | Yes | The same link as url, for agents that carry checkout on in a browser. |