How to Plan a Long-Distance EV Route with Copilot

Plan a Long-Distance EV Route with Copilot and ToolRouter. Return structured route and charging stop data for EV navigation apps and fleet systems.

Tool
EV Chargers icon
EV Chargers

Use Copilot with EV Chargers to plan a long-distance EV route with charging stops and return structured data for an EV navigation app, fleet routing system, or trip planning tool. Copilot is best when the route plan needs to be typed and schema-matched for integration into your application.

Connect ToolRouter to Copilot

1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the EV Chargers tool:

  1. Specify the origin, destination, vehicle range, and connector type.
  2. Ask Copilot to run `route_chargers` via `ev-chargers` with those parameters.
  3. Have Copilot return the route plan as typed JSON with each stop as a structured object.
  4. Feed the output into your navigation app or fleet routing system.

Example Prompt

Try this with Copilot using the EV Chargers tool
Use ev-chargers to plan a route from London to Edinburgh with CCS connector and 280-mile range. Return JSON: {total_distance_km: number, total_duration_mins: number, stops: Array<{location: string, lat: number, lng: number, network: string, max_power_kw: number, estimated_charge_mins: number, arrival_soc_pct: number}>}.

Tips

  • Include `arrival_soc_pct` (state of charge at arrival) so your app can warn when a stop has thin margin.
  • Return `lat` and `lng` for each stop so they can be plotted on a map without additional geocoding.
  • Use `total_duration_mins` including charging as the primary trip time metric in your UI.