Get Attachments by Consignment IDs
machship_get_attachments_by_consignment_idsDownload attachments for up to 40 consignment IDs in one bulk ZIP, returning file content, type, and size for each response.
Instructions
Downloads attachments for up to 40 consignments in bulk (returned as zip). Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.
Args:
ids (number[]): Array of consignment IDs (max 40)
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": {
"ids": "<ids>"
},
"name": "machship_get_attachments_by_consignment_ids"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Consignment IDs (max 40) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |