Class: Aws::BedrockRuntime::Types::SpecificToolChoice

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

The model must request a specific tool. For example, ‘: {“name” : “Your tool name”}`. For more information, see [Call a tool with the Converse API] in the Amazon Bedrock User Guide

<note markdown=“1”> This field is only supported by Anthropic Claude 3 models.

</note>

[1]: docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the tool that the model must request.

Returns:

  • (String)


3944
3945
3946
3947
3948
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3944

class SpecificToolChoice < Struct.new(
  :name)
  SENSITIVE = []
  include Aws::Structure
end