Error when attempting to send tools in chat completion request

When attempting to send a request to complete a conversation using tools to the OpenAI API, I encounter the following error:

NotFoundError: Error code: 404 - {'error': {'message': 'Unrecognized request argument supplied: tools', 'type': 'invalid_request_error', 'param': None, 'code': None}}

I was trying to test with the test code in the documentation, and I get the same error. I am using version ‘1.12.0’ of OpenAI and gpt4-1106-preview

What am I doing wrong?