get_nearest_cameras
Find the nearest traffic cameras to any latitude/longitude point. Returns cameras sorted by distance, with optional limit and active-only filters.
Instructions
Get the nearest traffic cameras to a geographic point.
Nearest-neighbor search. Use when the user asks for the closest camera(s) to a location.
Parameters: lat, lon: Query point (WGS84) limit: Number of cameras (1–100, default 5) active_only: If true, only camera_class=open
Returns: JSON with type nearest_search and cameras[] ordered by distance_meters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| limit | No | ||
| active_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |