freight_calculate_tolls
Calculate toll costs for freight routes using route polyline, axle count, and vehicle height, with pay-per-call USDC settlement.
Instructions
Estimate tolls for a known route polyline given axle count and vehicle height. Cost: $0.10 USDC per call.
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": {
"polyline": "<polyline>"
},
"name": "freight_calculate_tolls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axles | No | ||
| polyline | Yes | Encoded polyline6 string OR array of [lat, lon] points. | |
| height_ft | No | ||
| toll_maneuvers | No |