Class: Aws::BedrockAgent::Types::Tool
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::Tool
- 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
Defined Under Namespace
Classes: CachePoint, ToolSpec, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cache_point ⇒ Types::CachePointBlock
Creates a cache checkpoint within a tool designation.
-
#tool_spec ⇒ Types::ToolSpecification
The specification for the tool.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#cache_point ⇒ Types::CachePointBlock
Creates a cache checkpoint within a tool designation
9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9485 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_spec ⇒ Types::ToolSpecification
The specification for the tool.
9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9485 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
9485 9486 9487 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 9485 def unknown @unknown end |