neshan_traffic_analytics
Analyze historical traffic patterns at any location. Get a congestion score, hourly breakdown with color-coded traffic levels, and a static map with traffic overlay.
Instructions
Analyse historical traffic patterns around a location.
Returns three things:
kpi: overall traffic congestion score for the location (higher = more congested).
chart: 24-hour traffic breakdown — one entry per hour with a numeric score and a color key (green → free flow, yellow → moderate, orange → heavy, red → congested).
static_map: a PNG image of the area (~500 m radius) with traffic overlay.
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>",
"lng": "<lng>"
},
"name": "neshan_traffic_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude of the location. | |
| lng | Yes | Longitude of the location. |