Get MO41 Document PDF
machship_get_mo41_document_pdfRetrieve the MO41 compliance document PDF for a consignment by ID, returning file data, content type, and size for carrier-specific requirements.
Instructions
Returns the MO41 document PDF for a consignment (used for specific carrier compliance documents). Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.
Args:
consignmentId (number): Consignment ID
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_mo41_document_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |