webfleet_nearest_vehicles
Find vehicles near an address or coordinates and sort results by state or distance. Include routed distance and travel time for up to eight vehicles.
Instructions
List vehicles near an address or coordinates, sorted by object state and distance; the 8 nearest include routed distance and travel time. Read-only: WEBFLEET.connect showNearestVehicles (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires addrno or latitude + longitude.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "webfleet_nearest_vehicles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addrno | No | Address number (unique within the account). Alternative to latitude + longitude. | |
| latitude | No | WGS84 latitude in micro-degrees (degrees x 1,000,000). | |
| priority | No | Sort: 1 = state, distance, number (default); 2 = distance, number. | |
| longitude | No | WGS84 longitude in micro-degrees (degrees x 1,000,000). | |
| maxdistance | No | Maximum straight-line distance from the location, in meters. | |
| columnfilter | No | Comma-separated result column names to return (case-sensitive). Reduces response size; unknown names are ignored by Webfleet. | |
| objectgroupname | No | Object group name (case-sensitive). |