API Reference
Class
ToolChoice
Represents the tool selection strategy for a request.
Inheritance
- Object
- ToolChoice
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ChatOptions.ToolChoice
- Property EasyChatOptions.ToolChoice
- Method ToolChoice.Custom
- Property ToolChoice.Auto
- Property ToolChoice.None
Methods
public static ToolChoice Custom(String name) #Returns:
ToolChoiceForces the model to call a specific tool.
Parameters
- name System.String
- Tool name.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object