langchain.js
    Preparing search index...

    Interface XAIResponsesToolChoiceFunction

    Function tool choice object.

    interface XAIResponsesToolChoiceFunction {
        function: { name: string };
        type: "function";
    }
    Index

    Properties

    Properties

    function: { name: string }

    Type Declaration

    • name: string

      The name of the function to call.

    type: "function"