How can I implement CoT reasoning before tool calling using the Chat Completions API?

I have a similar issue when Responses return multiple messages + function_call. Read my thread

My guess is that the output list is prioritized, so the most relevant answer is the first one.