Print the bill of sale
sale_renderRender a bill of sale as Markdown or self-contained HTML for print-to-PDF, with signature lines and a DRAFT watermark on drafts.
Instructions
Render a bill of sale as a clean printable document: Markdown, a self-contained HTML file ready for print-to-PDF, or both, with signature lines for seller and buyer. Drafts render with a DRAFT watermark so a review copy cannot be signed by mistake. Files default to the server's documents folder; pass out_path to choose. Free.
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": {
"sale": "<sale>"
},
"name": "sale_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sale | Yes | The bill of sale id, e.g. BOS-2026-0001 | |
| format | No | What to render: markdown, html, or both (default). The HTML is one self-contained file, no external assets | |
| out_path | No | Where to write. With format both this is a stem and .md / .html are appended. Default: the server's documents folder under the data directory | |
| overwrite | No | Replace an existing file at out_path. Default false: an occupied explicit path is refused, a derived one gets -2, -3, ... |