ToolChoice: "auto" | "none" | "required" | {
    function: {
        name: string;
    };
    type: "function";
}

Type declaration

  • function: {
        name: string;
    }
    • name: string
  • type: "function"