SAP AI SDK for JavaScript - v2.8.0
    Preparing search index...

    Type Alias AzureOpenAiChatCompletionRequestToolMessage

    AzureOpenAiChatCompletionRequestToolMessage: {
        content:
            | string
            | AzureOpenAiChatCompletionRequestToolMessageContentPart[];
        role: "tool";
        tool_call_id: string;
    } & Record<string, any>

    Representation of the 'AzureOpenAiChatCompletionRequestToolMessage' schema.

    Type Declaration

    • content: string | AzureOpenAiChatCompletionRequestToolMessageContentPart[]

      The contents of the tool message.

    • role: "tool"

      The role of the messages author, in this case tool.

    • tool_call_id: string

      Tool call that this message is responding to.

      Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.