Print markdown receipts to a CUPS POS printer in two steps: preview the content first, then confirm to print.
Instructions
Print markdown content to a POS printer via CUPS URI. Use this when the user asks to print, print a receipt, make a hard copy, or print something out. Call with mode=preview first, then call again with mode=confirm and confirmationToken.
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": {
"printerUri": "<printerUri>",
"markdown": "<markdown>",
"mode": "<mode>"
},
"name": "print"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printerUri | Yes | ||
| markdown | Yes | ||
| mode | Yes | ||
| confirmationToken | No | ||
| options | No |