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

    Type Alias MessageToolCall

    MessageToolCall: {
        function: { arguments: string; name: string } & Record<string, any>;
        id: string;
        type: "function";
    } & Record<string, any>

    Representation of the 'MessageToolCall' schema.

    Type Declaration

    • function: { arguments: string; name: string } & Record<string, any>

      The function that the model called.

    • id: string

      The ID of the tool call.

    • type: "function"

      The type of the tool. Currently, only function is supported.

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