Get Shipping Rates
get_shipping_ratesGet shipping rates (postage cost and delivery time) for mailing a package with USPS or UPS home delivery, between two US addresses.
Returns each option's carrier, service, price in USD and estimated delivery time at the standard price. Quotes are indicative and not reserved. This tool only quotes prices; it does not buy a label.
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": {
"sender_name": "<sender_name>",
"sender_street1": "<sender_street1>",
"sender_city": "<sender_city>",
"sender_state": "<sender_state>",
"sender_zip": "<sender_zip>",
"recipient_name": "<recipient_name>",
"recipient_street1": "<recipient_street1>",
"recipient_city": "<recipient_city>",
"recipient_state": "<recipient_state>",
"recipient_zip": "<recipient_zip>",
"weight_lb": "<weight_lb>",
"length_in": "<length_in>",
"width_in": "<width_in>",
"height_in": "<height_in>"
},
"name": "get_shipping_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width_in | Yes | Package width in inches | |
| height_in | Yes | Package height in inches | |
| length_in | Yes | Package length in inches | |
| weight_lb | Yes | Package weight in pounds, e.g. 2.5 | |
| sender_zip | Yes | US ZIP code, e.g. '94103' | |
| sender_city | Yes | City name, e.g. 'San Francisco' | |
| sender_name | Yes | Full name of the person or business at this address | |
| sender_state | Yes | Two-letter US state code, e.g. 'CA' | |
| recipient_zip | Yes | US ZIP code, e.g. '94103' | |
| recipient_city | Yes | City name, e.g. 'San Francisco' | |
| recipient_name | Yes | Full name of the person or business at this address | |
| sender_street1 | Yes | Street address line, e.g. '123 Main St' | |
| recipient_state | Yes | Two-letter US state code, e.g. 'CA' | |
| recipient_street1 | Yes | Street address line, e.g. '123 Main St' |