Microsoft Azure · Schema

ChatCompletionToolCall

A tool call generated by the model.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
id string The ID of the tool call.
type string The type of the tool call.
function object The function that the model called.
View JSON Schema on GitHub

JSON Schema

azure-openai-service-chat-completion-tool-call-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ChatCompletionToolCall",
  "type": "object",
  "description": "A tool call generated by the model.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the tool call."
    },
    "type": {
      "type": "string",
      "description": "The type of the tool call."
    },
    "function": {
      "type": "object",
      "description": "The function that the model called."
    }
  }
}