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)


2307
2308
2309
2310
2311
2312
2313
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2307

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)


2307
2308
2309
2310
2311
2312
2313
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2307

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)


2307
2308
2309
2310
2311
2312
2313
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2307

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