Get Consignment for Clone
machship_get_consignment_for_cloneRetrieve an existing consignment in a clone-ready format so its details can be passed directly to createConsignmentWithComplexItems to duplicate the shipment.
Instructions
Get the details of an existing consignment in a format that can be passed directly to the createConsignmentWithComplexItems endpoint to create a copy.
Args:
id (number): Consignment ID to retrieve in clone 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": {
"id": "<id>"
},
"name": "machship_get_consignment_for_clone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | 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 |