Forces the model to call a specific function.
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ChatCompletionNamedToolChoiceParam", "title": "ChatCompletionNamedToolChoiceParam", "additionalProperties": false, "properties": { "function": { "$ref": "#/components/schemas/ChatCompletionNamedFunction", "description": "The function to call." }, "type": { "const": "function", "default": "function", "title": "Type", "type": "string", "description": "The type, always `function`." } }, "required": [ "function" ], "type": "object", "description": "Forces the model to call a specific function." }