A tool that can be called by models.

interface ChatsRequestTool {
    function?: ChoiceFunction;
    type: string;
}

Properties

Properties

function?: ChoiceFunction

Function to call for a tool choice.

type: string

Type of the tool. Currently, only "function" is supported.