Recommend a freight mode for a lane
recommend_modeRank the freight modes (dry van, reefer, flatbed, intermodal, rail, barge, dump truck) for a shipment between two U.S. places, with the reasons for each, and return the lane distance in miles. Use it first when you only have city names or ZIPs, then pass the distance to an estimate_* tool for a price. International lanes return the ocean/air routing instead. Does not count toward the estimate allowance.
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": {
"origin": "<origin>",
"destination": "<destination>",
"weight": "<weight>",
"commodity_type": "<commodity_type>"
},
"name": "recommend_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Origin city and state, or ZIP. Example: 'Chicago, IL'. | |
| weight | Yes | Shipment weight in pounds. | |
| destination | Yes | Destination city and state, or ZIP. Example: 'Dallas, TX'. | |
| commodity_type | Yes | What is being shipped, e.g. 'Packaged Goods', 'Produce/Food', 'Machinery/Equipment', 'Hazmat/Chemicals'. |