TomTom Traffic
tomtom-trafficRetrieve traffic incidents in an area, including accidents, closures, and congestion. Get severity, description, delay, and affected roads to assess road conditions.
Instructions
Find and display traffic incidents in an area. The primary tool for questions about traffic, accidents, road closures, congestion, or dangerous road conditions. Returns detailed incident data including severity, description, delay, and affected roads. Provides complete traffic incident data on its own; plotting incidents as markers with tomtom-dynamic-map is not needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | Bounding box for traffic area: 'minLon,minLat,maxLon,maxLat'. Example: '-74.02,40.70,-73.96,40.80' for lower Manhattan. Use smaller areas for better results. | |
| language | No | Language for incident descriptions: 'en-GB', 'de-DE', 'fr-FR', 'es-ES'. Default: 'en-GB'. | |
| maxResults | No | Maximum incidents to return (1-1000). Default: 100. Use 10-20 for readability in high-traffic areas. When more incidents match, the most severe are returned and the response includes an incidentSummary with full totals. | |
| categoryFilter | No | Filter by incident categories (comma-separated): '0' (Accident), '1' (Fog), '2' (Dangerous Conditions), '3' (Rain), '4' (Ice), '5' (Lane Restrictions), '6' (Lane Closure), '7' (Road Closure), '8' (Road Works), '9' (Wind), '10' (Flooding), '11' (Detour), '14' (Cluster). | |
| response_detail | No | Response detail level. 'compact' (default): trimmed response with essential fields only, saves tokens. 'full': complete API response with all fields including coordinates, classifications, etc. | compact |
| timeValidityFilter | No | Time validity filter: 'present' (current), 'future' (upcoming). Default: 'present'. |