How to Find Generic Alternatives with Copilot
Find generic drugs in your IDE with Copilot and ToolRouter.
ToolDrug InfoCopilot maps brand-to-generic drug relationships as structured data for building cost comparison features. Generate formulary lookup tools, create brand-to-generic mapping databases, and build medication cost optimization features for insurance or benefits platforms directly from the API output.
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
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Drug Info tool:
- In Copilot Chat: "Look up generic alternatives for Advair"
- Copilot returns active ingredient and generic options
- Use the data in your healthcare application
- Build brand-to-generic mapping features
Example Prompt
Try this with Copilot using the Drug Info tool
Find all generic equivalents of Prozac so I can build a medication cost comparison feature.
Tips
- Build formulary comparison tools using the structured data
- Map brand names to generics programmatically for cost optimization
- Useful for insurance and benefits platforms