preview_label
Preview label layout and text placement on the loaded tape without printing. Returns a preview image and layout details to verify before printing.
Instructions
Lay out a label for the currently loaded tape WITHOUT printing it and return a preview image plus layout details. Use "\n" in text for multiple lines. Text is auto-sized to fill the tape height; the label length fits the text unless length_mm is given.
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": {
"text": "<text>"
},
"name": "preview_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | ||
| text | Yes | ||
| align | No | center | |
| printer | No | ||
| font_size | No | ||
| length_mm | No |