Class BedrockToolChoice
Specifies which tool the model should choose (if multiple available).
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class BedrockToolChoice
Remarks
This data type is a UNION, so only one of the following members can be specified when used or returned.
Properties
| Edit this page View SourceAny
Optional. The model must request at least one tool (no text is generated).
Declaration
[JsonProperty("any")]
public EmptyEnvelope Any { get; set; }
Property Value
| Type | Description |
|---|---|
| EmptyEnvelope |
Auto
Optional. The model automatically decides if a tool should be called or whether to generate text instead.
Declaration
[JsonProperty("auto")]
public EmptyEnvelope Auto { get; set; }
Property Value
| Type | Description |
|---|---|
| EmptyEnvelope |
Tool
Optional. The model must request the specified tool. Only supported by Anthropic Claude 3 and Amazon Nova models.
Declaration
[JsonProperty("tool")]
public NameEnvelope Tool { get; set; }
Property Value
| Type | Description |
|---|---|
| NameEnvelope |