Class: Aws::BedrockRuntime::Types::ToolResultBlock

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb

Overview

A tool result block that contains the results for a tool request that the model previously made.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentArray<Types::ToolResultContentBlock>

The content for tool result content block.

Returns:



1745
1746
1747
1748
1749
1750
1751
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1745

class ToolResultBlock < Struct.new(
  :tool_use_id,
  :content,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status for the tool result content block.

This field is only supported Anthropic Claude 3 models.

Returns:

  • (String)


1745
1746
1747
1748
1749
1750
1751
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1745

class ToolResultBlock < Struct.new(
  :tool_use_id,
  :content,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#tool_use_idString

The ID of the tool request that this is the result for.

Returns:

  • (String)


1745
1746
1747
1748
1749
1750
1751
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1745

class ToolResultBlock < Struct.new(
  :tool_use_id,
  :content,
  :status)
  SENSITIVE = []
  include Aws::Structure
end