Class: Aws::BedrockAgent::Types::Tool

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb

Overview

Note:

Tool is a union - when making an API calls you must set exactly one of the members.

Note:

Tool is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Tool corresponding to the set member.

Contains configurations for a tool that a model can use when generating a response. For more information, see Use a tool to complete an Amazon Bedrock model response.

Direct Known Subclasses

CachePoint, ToolSpec, Unknown

Defined Under Namespace

Classes: CachePoint, ToolSpec, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cache_pointTypes::CachePointBlock

Creates a cache checkpoint within a tool designation



9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9330

class Tool < Struct.new(
  :cache_point,
  :tool_spec,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CachePoint < Tool; end
  class ToolSpec < Tool; end
  class Unknown < Tool; end
end

#tool_specTypes::ToolSpecification

The specification for the tool.



9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9330

class Tool < Struct.new(
  :cache_point,
  :tool_spec,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CachePoint < Tool; end
  class ToolSpec < Tool; end
  class Unknown < Tool; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



9330
9331
9332
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9330

def unknown
  @unknown
end