How to Get Structured Output from Any LLM: JSON Schema, Tool Calls, or a Decision Model
openrouter.ai — When your code reads fields from a model's reply, like an order ID or a refund amount, it expects clean JSON every time. Most of the time, it gets it. But