No tool name part of tool output message?

I am confused regarding how to report the output of the tools. Before when using functions, the function name was part of the message. But for tools the documentation is not consistent.

Line 75, the use of “name” attribute, in

is not consistent with the request body documentation of the create chat completion for tool message in

When I use the types of the nodejs lib "^4.17.5" I am not allowed to add “name”.

However, it appears as if the assistant doesn’t understand the tool response, and I’m thinking it could have to do with the missing name.

The reason for the problem I had was not the correlation between the tool args and output, but that the gpt4 turbo didn’t perform as well as gpt4 for the prompt I used.