Class: Aws::BedrockRuntime::Types::Tool
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::Tool
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
Tool is a union - when making an API calls you must set exactly one of the members.
Information about a tool that you can use with the Converse API. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#tool_spec ⇒ Types::ToolSpecification
The specfication for the tool.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#tool_spec ⇒ Types::ToolSpecification
The specfication for the tool.
2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2790 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
2790 2791 2792 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2790 def unknown @unknown end |