get_rates
Calculate UPS shipping rates for a package using origin and destination ZIP codes and package weight. Get cost estimates for shipments between two addresses.
Instructions
Get UPS shipping rates between two addresses for a package.
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": {
"from_zip": "<from_zip>",
"to_zip": "<to_zip>",
"weight_lbs": "<weight_lbs>"
},
"name": "get_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_zip | Yes | Destination ZIP code | |
| from_zip | Yes | Origin ZIP code | |
| width_in | No | Package width in inches | |
| height_in | No | Package height in inches | |
| length_in | No | Package length in inches | |
| weight_lbs | Yes | Package weight in pounds |