Sign or unsign a letter
set_letter_signaturePrint the person's saved signature on a previewed letter, under the closing, or take it off, without previewing it again. Give the draftId from the preview and signature: true or false. set_signature saves a signature first; true with none saved is refused. The signature takes 3 lines, so a letter with no room for them is refused. The page is drawn again with the signature as it is saved now, 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>",
"signature": "<signature>"
},
"name": "set_letter_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The draftId from a letter preview | |
| signature | Yes | true prints the person's saved signature under the closing; false takes it off |
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 | ||
| signature | Yes | Whether the letter now prints the person's saved signature: asked for in the call | |
| canSendNow | Yes | Whether the balance or a gift letter pays for the letter as it is now: the signature's lines can change its pages, and so its price | |
| 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 |