IntelligenceX
Class

ToolChoice

Namespace IntelligenceX.OpenAI.Tools
Assembly IntelligenceX
Modifiers sealed

Represents the tool selection strategy for a request.

Inheritance

  • Object
  • ToolChoice

Methods

public static ToolChoice Custom(String name) #
Returns: ToolChoice

Forces the model to call a specific tool.

Parameters

name System.String
Tool name.

Properties

public String Type { get; } #

Gets the tool choice type.

public String Name { get; } #

Gets the tool name when a specific tool is required.

public static ToolChoice Auto { get; } #

Allows the model to decide which tool to call.

public static ToolChoice None { get; } #

Disables tool calling.