vapor-chamber API reference - v1.3.0
    Preparing search index...

    Type Alias OpenAITool

    type OpenAITool = {
        type: "function";
        function: {
            name: string;
            description?: string;
            parameters: {
                type: "object";
                properties: {
                    target?: {
                        type: "object";
                        properties: Record<string, { type: string }>;
                    };
                    payload?: {
                        type: "object";
                        properties: Record<string, { type: string }>;
                    };
                };
            };
        };
    }
    Index

    Properties

    Properties

    type: "function"
    function: {
        name: string;
        description?: string;
        parameters: {
            type: "object";
            properties: {
                target?: {
                    type: "object";
                    properties: Record<string, { type: string }>;
                };
                payload?: {
                    type: "object";
                    properties: Record<string, { type: string }>;
                };
            };
        };
    }