Class: Aws::BedrockRuntime::Types::ToolUseBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::ToolUseBlock
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
A tool use content block. Contains information about a tool that the model is requesting be run., The model uses the result from the tool to generate a response. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#input ⇒ Hash, ...
The input to pass to the tool.
-
#name ⇒ String
The name of the tool that the model wants to use.
-
#tool_use_id ⇒ String
The ID for the tool request.
-
#type ⇒ String
The type for the tool request.
Instance Attribute Details
#input ⇒ Hash, ...
The input to pass to the tool.
4679 4680 4681 4682 4683 4684 4685 4686 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 4679 class ToolUseBlock < Struct.new( :tool_use_id, :name, :input, :type) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the tool that the model wants to use.
4679 4680 4681 4682 4683 4684 4685 4686 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 4679 class ToolUseBlock < Struct.new( :tool_use_id, :name, :input, :type) SENSITIVE = [] include Aws::Structure end |
#tool_use_id ⇒ String
The ID for the tool request.
4679 4680 4681 4682 4683 4684 4685 4686 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 4679 class ToolUseBlock < Struct.new( :tool_use_id, :name, :input, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type for the tool request.
4679 4680 4681 4682 4683 4684 4685 4686 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 4679 class ToolUseBlock < Struct.new( :tool_use_id, :name, :input, :type) SENSITIVE = [] include Aws::Structure end |