Table of Contents

Class ToolChoice

Namespace
AutoGen.Anthropic.DTO
Assembly
AutoGen.Anthropic.dll
public class ToolChoice
Inheritance
ToolChoice
Inherited Members

Properties

Any

public static ToolChoice Any { get; }

Property Value

ToolChoice

Auto

public static ToolChoice Auto { get; }

Property Value

ToolChoice

Name

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Type

[JsonPropertyName("type")]
public ToolChoiceType Type { get; set; }

Property Value

ToolChoiceType

Methods

ToolUse(string)

public static ToolChoice ToolUse(string name)

Parameters

name string

Returns

ToolChoice