Interface Tool

Tool represents a tool that can be called during chat.

interface Tool {
    function: ToolFunction;
    type: string;
}

Properties

Properties

function: ToolFunction

function represents the function definition.

type: string

type represents the type of tool to call. Only 'function' is currently supported.