Class: Aws::BedrockRuntime::Types::ToolResultBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::ToolResultBlock
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
A tool result block that contains the results for a tool request that the model previously made. For more information, see [Call a tool with the Converse API] in the Amazon Bedrock User Guide.
[1]: docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content ⇒ Array<Types::ToolResultContentBlock>
The content for tool result content block.
-
#status ⇒ String
The status for the tool result content block.
-
#tool_use_id ⇒ String
The ID of the tool request that this is the result for.
-
#type ⇒ String
The type for the tool result content block.
Instance Attribute Details
#content ⇒ Array<Types::ToolResultContentBlock>
The content for tool result content block.
4301 4302 4303 4304 4305 4306 4307 4308 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4301 class ToolResultBlock < Struct.new( :tool_use_id, :content, :status, :type) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The status for the tool result content block.
<note markdown=“1”> This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 models.
</note>
4301 4302 4303 4304 4305 4306 4307 4308 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4301 class ToolResultBlock < Struct.new( :tool_use_id, :content, :status, :type) SENSITIVE = [] include Aws::Structure end |
#tool_use_id ⇒ String
The ID of the tool request that this is the result for.
4301 4302 4303 4304 4305 4306 4307 4308 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4301 class ToolResultBlock < Struct.new( :tool_use_id, :content, :status, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type for the tool result content block.
4301 4302 4303 4304 4305 4306 4307 4308 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4301 class ToolResultBlock < Struct.new( :tool_use_id, :content, :status, :type) SENSITIVE = [] include Aws::Structure end |