langchain.js
    Preparing search index...

    Interface XAIResponsesFunctionToolFunction

    Function tool parameters using JSON Schema.

    interface XAIResponsesFunctionToolFunction {
        description?: string;
        name: string;
        parameters: Record<string, unknown>;
    }
    Index

    Properties

    description?: string

    A description of what the function does.

    name: string

    The name of the function.

    parameters: Record<string, unknown>

    The parameters the function accepts, described as a JSON Schema object.