One tool, five schemas: converting function definitions between OpenAI, Anthropic, Gemini and MCPDrafted with AI assistance and reviewed/tested by the author. The code below was run on Node 22 and type-checked with tsc --strict. If you support more than one model provider, you've probably written2d ago · 14 min readrowanvale.hashnode.dev