Class: Aws::BedrockRuntime::Types::ToolUseBlock

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#inputHash, ...

The input to pass to the tool.

Returns:

  • (Hash, Array, String, Numeric, Boolean)


2240
2241
2242
2243
2244
2245
2246
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2240

class ToolUseBlock < Struct.new(
  :tool_use_id,
  :name,
  :input)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the tool that the model wants to use.

Returns:

  • (String)


2240
2241
2242
2243
2244
2245
2246
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2240

class ToolUseBlock < Struct.new(
  :tool_use_id,
  :name,
  :input)
  SENSITIVE = []
  include Aws::Structure
end

#tool_use_idString

The ID for the tool request.

Returns:

  • (String)


2240
2241
2242
2243
2244
2245
2246
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2240

class ToolUseBlock < Struct.new(
  :tool_use_id,
  :name,
  :input)
  SENSITIVE = []
  include Aws::Structure
end