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. 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

Instance Attribute Details

#content ⇒ Array<Types::ToolResultContentBlock>

The content for tool result content block.

Returns:



5192
5193
5194
5195
5196
5197
5198
5199
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 5192

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.

This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 models.

Returns:

  • (String)


5192
5193
5194
5195
5196
5197
5198
5199
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 5192

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.

Returns:

  • (String)


5192
5193
5194
5195
5196
5197
5198
5199
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 5192

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.

Returns:

  • (String)


5192
5193
5194
5195
5196
5197
5198
5199
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 5192

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