Send Labels to Printer
machship_send_labels_to_printerSends consignment labels directly to a configured Machship printer using print requests with consignment ID, printer ID, and label type.
Instructions
Sends labels directly to a configured printer in Machship.
Args:
requests (array): Array of print requests, each with consignmentId, printerId, labelType, etc.
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": {
"requests": "<requests>"
},
"name": "machship_send_labels_to_printer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes | Print requests (consignmentId, printerId, labelType) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |