Since you are self-hosting, you can try to route these models through LiteLLM.
Most models don’t. I learnt through trial and error. LiteLLM will help to make the models more tool call compliant
See this thread
Update: Just found it.
For better result