Mistake in Function Calling guide over location of "strict"

In this part of the guide: it says that strict should be at the top level:

tools = [
    {
        "type": "function",
        "function": {
            "name": "get_delivery_date",
            "description": "Get the delivery date for a customer's order. Call this whenever you need to know the delivery date, for example when a customer asks 'Where is my package'",
            "parameters": {
                "type": "object",
                "properties": {
                    "order_id": {
                        "type": "string",
                        "description": "The customer's order ID.",
                    },
                },
                "required": ["order_id"],
                "additionalProperties": False,
            },
        },
        "strict": True,
    }
]

However in the API https://platform.openai.com/docs/api-reference/chat/create#chat-create-tools
It says strict should be inside the function object.

tools
   Array (Optional) - A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported.
  Properties:
    type - string (Required) The type of the tool. Currently, only function is supported.
    function - object (Required) 
      Properties
        description - string (Optional) A description of what the function does, used by the model to choose when and how to call the function.
        name - string (Required) The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
        parameters - object (Optional) The parameters the functions accepts, described as a JSON Schema object. See the guide for examples, and the JSON Schema reference for documentation about the format. Omitting parameters defines a function with an empty parameter list.
        strict - boolean or null (Optional) Defaults to false Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true. Learn more about Structured Outputs in the function calling guide.

I think the API is correct, not the guide, because when we send such a tool using an assistant, it throws an exception if it is done outside the function (Calling within the function works)

OpenAI API error: Error code: 400 - {‘error’: {‘message’: “Unknown parameter: ‘tools[1].strict’.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘tools[1].strict’, ‘code’: ‘unknown_parameter’}}