tls_adaptation_tool
Optimize traffic light cycles in SUMO simulations by providing a network file and route file, generating an improved XML configuration.
Instructions
Run SUMO tlsCycleAdaptation.py to optimize traffic light cycles and generate an additional XML file.
Args:
net_file: Network file path (tag will be extracted from filename)
route_file: Route file path
output_dir: Output directory for results
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": {
"net_file": "<net_file>",
"route_file": "<route_file>"
},
"name": "tls_adaptation_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net_file | Yes | ||
| output_dir | No | output/simulations | |
| route_file | Yes |