Get Special Instructions PDF
machship_get_special_instructions_pdfRetrieve the special instructions PDF for a consignment, optionally in A4 format, returning the file as base64 with content type and size for inspection or download.
Instructions
Returns the special instructions document PDF for a consignment. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.
Args:
consignmentId (number): Consignment ID
printA4 (boolean, optional): Print in A4 format
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": {
"consignmentId": "<consignmentId>"
},
"name": "machship_get_special_instructions_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printA4 | No | Print in A4 format | |
| consignmentId | Yes | Consignment ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |