Will tool calls still work after an OpenRouter migration?

Validate tool selection, argument handling and duplicate-call prevention before moving an agent.

Use a staging tool that calculates shipping cost from a fictional order. Record which arguments the model supplies, whether they validate against the schema and what the assistant does with the result. A fluent final sentence alone cannot tell you if the tool ran correctly.

Try one incomplete order

Omit the postal code and check that the agent asks for it. Then supply it and verify the tool runs once. Simulate an interrupted response and check that a retry does not duplicate an action. Keep external side effects disabled until these cases pass.

Open the TrustedRouter migration guide · How to move a coding agent off OpenRouter with less source exposure