How to Decode a VIN with Copilot

Decode a VIN for Full Vehicle Specifications with Copilot and ToolRouter. Return typed VIN decode data for automotive applications and fleet systems.

Tool
Vehicle Data icon
Vehicle Data

Use Copilot with Vehicle Data to decode VINs and return typed specification data for an automotive application, parts lookup service, or fleet management system. Copilot is best when the VIN decode output needs to be schema-matched and immediately usable in code.

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 Vehicle Data tool:

  1. Provide the VIN and your application schema for vehicle specification data.
  2. Ask Copilot to run `decode_vin`, `decode_wmi`, and `vehicle_specs` via `vehicle-data`.
  3. Have Copilot return the result as typed JSON matching your schema.
  4. Use the output to populate a fleet record, parts lookup, or vehicle registration in your application.

Example Prompt

Try this with Copilot using the Vehicle Data tool
Use vehicle-data to decode VIN: WBA3A5G59DNP26082. Run decode_vin, decode_wmi, and vehicle_specs. Return JSON: {vin: string, manufacturer: string, country: string, model_year: number, make: string, model: string, engine: string, fuel_type: string, trim: string, drive_type: string}.

Tips

  • Include `model_year` as a number, not a string, so your application can sort and filter by year.
  • Return `drive_type` (FWD/RWD/AWD) — it's commonly needed for parts compatibility checks.
  • Validate the decoded manufacturer against a known-good WMI table if the use case involves fraud detection.