Specifying a particular tool via {"type": "function", "function": {"name": "my_function"}} forces the model to call that tool. Only one of tool_choice_option or tool_choice must be present.

interface TextChatToolChoiceTool {
    function: WatsonXAI.TextChatToolFunction;
    type: string;
}

Properties

Properties

The named function.

type: string

The tool type.