Change the stationery
set_stationeryChange the stationery of a previewed letter without previewing it again: classic (a plain page), monogram (initials in a ring), botanical (a line-drawn sprig), celebration (confetti with an optional headline), typewriter (typed in a monospace face) or handwritten (a handwriting face on faint ruled lines). Give the draftId from the preview and stationery, with monogram and headline as the letter previews take them: each call states them afresh, so a headline is kept only when given again. The page is drawn again, and the choice is remembered for the next letter 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": {
"draftId": "<draftId>",
"stationery": "<stationery>"
},
"name": "set_stationery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The draftId from a letter preview | |
| headline | No | Optional, for the celebration stationery only: a short line printed large above the letter, such as "Happy Birthday, Sam!". It must fit on one line, and takes three of the page's lines; leave it out for confetti alone. | |
| monogram | No | Optional, for the monogram stationery only: the initials to print, one to three letters, such as "JMS". Leave it out to use the initials of the return address's name. | |
| stationery | Yes | The stationery to draw the letter in: classic, a plain page; monogram, initials in a ring; botanical, a line-drawn sprig; celebration, confetti with an optional headline; typewriter, the letter typed in a monospace face, which fits fewer words on the page; or handwritten, the letter in a handwriting face on faint ruled lines, which has no Greek, Hebrew or Vietnamese. Each but classic prints the date at the top right. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Present only for a letter of more than one page: the pages it prints on, both sides of the paper. No letter pack or gift letter pays for it; it is paid with Pay & Send. | |
| draftId | Yes | ||
| message | Yes | ||
| canSendNow | Yes | Whether the balance or a gift letter pays for the letter as it is now: a restyle can change its pages, and so its price | |
| stationery | Yes | The stationery the letter is now drawn in, with the date line, initials and headline it prints | |
| mailService | No | With the terms, for a letter that is certified mail now, and for a sent letter that went by it: which service. Absent beside the delivery words: ordinary mail | |
| deliveryClass | No | With the terms, for a letter that is certified mail or while certified mail is offered, and for a sent letter: how it is delivered, as a new preview would say it. A card draws it on its Delivery line | |
| 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 | |
| sendEligibility | Yes | ||
| reasonCannotSend | No | ||
| deliveryDisclaimer | No | With it, the words that qualify the delivery | |
| contentVersionBefore | No | The version of this mail the change was made to: for the preview card, which takes contentVersion only when this is the version it shows |