pay_shipment
Pay for a selected shipping rate quote and create a shipping label. Supports optional insurance coverage.
Instructions
对已选报价的运单进行支付,生成面单。可选附带保险信息。
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": {
"rate_id": "<rate_id>"
},
"name": "pay_shipment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate_id | Yes | 报价ID,从 get_shipping_rates 获取 | |
| label_print_type | No | 面单打印格式 | common |
| insurance_data | No | 保险信息(可选) |