visualize_edge_tool
Highlights a selected road in a SUMO network file and exports the visualization as a PNG image.
Instructions
Visualize a SUMO network file with selected edges highlighted and save as PNG image.
Only use when user EXPLICITLY requests edge visualization!
- User says "show edge details", "visualize this road" → Use this
- User asks "which road is congested?" → Do NOT use, answer with text
Args:
net_file: Path to the SUMO network file (.net.xml)
road_name: Name of the road to highlight
output_dir: Output directory for visualization files
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net_file | Yes | ||
| road_name | Yes | ||
| output_dir | No | output/visualizations |