Share via


ToolChoiceObjectType Struct

Definition

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

public readonly struct ToolChoiceObjectType : IEquatable<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObjectType>
type ToolChoiceObjectType = struct
Public Structure ToolChoiceObjectType
Implements IEquatable(Of ToolChoiceObjectType)
Inheritance
ToolChoiceObjectType
Implements

Constructors

Name Description
ToolChoiceObjectType(String)

Initializes a new instance of ToolChoiceObjectType.

Properties

Name Description
CodeInterpreter

code_interpreter.

Computer

computer_use_preview.

FileSearch

file_search.

Function

function.

ImageGeneration

image_generation.

Mcp

mcp.

WebSearch

web_search_preview.

Methods

Name Description
Equals(ToolChoiceObjectType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(ToolChoiceObjectType, ToolChoiceObjectType)

Determines if two ToolChoiceObjectType values are the same.

Implicit(String to ToolChoiceObjectType)

Converts a String to a ToolChoiceObjectType.

Inequality(ToolChoiceObjectType, ToolChoiceObjectType)

Determines if two ToolChoiceObjectType values are not the same.

Applies to