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.
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "get_nearest_cameras"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| limit | No | ||
| active_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |