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.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#tool_spec ⇒ Types::ToolSpecification
The specification for the tool.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#tool_spec ⇒ Types::ToolSpecification
The specification for the tool.
7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 7786 class Tool < Struct.new( :tool_spec, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ToolSpec < Tool; end class Unknown < Tool; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
7786 7787 7788 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 7786 def unknown @unknown end |