preview_letter
Render a preview of a handwritten letter (as an SVG image) and get its price, before creating an order. Does not save anything.
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": {
"message": "<message>"
},
"name": "preview_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The letter text to render. | |
| recipient | No | Optional recipient info, used only to personalize {{merge fields}} in the message before rendering. | |
| product_type | No | Product slug: letter, card, postcard, etc. Defaults to "letter". | |
| handwriting_style | No | Font UUID from list_handwriting_styles. Defaults to the house font. |