create_shipment
Generate shipping labels with tracking numbers and label URLs by providing carrier account details, shipper/recipient addresses, and product information.
Instructions
Create a shipping label. Requires carrier account, shipper/recipient addresses, and product details. Returns tracking number and label URL.
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": {
"carrier_id": "<carrier_id>",
"shipper": "<shipper>",
"recipient": "<recipient>",
"products": "<products>"
},
"name": "create_shipment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| integration_key | No | Shipi integration key | |
| carrier_id | Yes | Shipping account ID (get from list_carriers) | |
| service_code | No | Carrier service code (leave empty for default) | |
| shipper | Yes | Shipper (from) address | |
| recipient | Yes | Recipient (to) address | |
| products | Yes | Products/packages to ship |