Get Shipping Rates
get_ratesRetrieve shipping rates for packages between two addresses. Returns service options with prices, transit times, and delivery guarantees. Omit service code for all available rates.
Instructions
Get shipping rates for a package between two addresses. Returns available service options with prices, transit times, and delivery guarantees. Omit the service code to get rates for ALL available services (shop rates). Common codes: 03=Ground, 02=2nd Day Air, 01=Next Day Air, 12=3 Day Select.
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": {
"shipFrom": "<shipFrom>",
"shipTo": "<shipTo>",
"packages": "<packages>"
},
"name": "get_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | No | Specific service code, or omit for all available rates | |
| shipFrom | Yes | Origin address (city/state/zip required) | |
| shipTo | Yes | Destination address (city/state/zip required) | |
| packages | Yes | Packages to rate |