Microsoft Azure · Schema

chatCompletionNamedToolChoice

Specifies a tool the model should use. Use to force the model to call a specific function.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
type string The type of the tool. Currently, only `function` is supported.
function object
View JSON Schema on GitHub

JSON Schema

microsoft-azure-chatcompletionnamedtoolchoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/chatCompletionNamedToolChoice",
  "title": "chatCompletionNamedToolChoice",
  "type": "object",
  "description": "Specifies a tool the model should use. Use to force the model to call a specific function.",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "function"
      ],
      "description": "The type of the tool. Currently, only `function` is supported."
    },
    "function": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the function to call."
        }
      },
      "required": [
        "name"
      ]
    }
  }
}