Function Calling Loop with Tool Choice
tool_choice =
auto
none
required
{"function": "get_weather"}
Show token costs at each step