Class: Aws::BedrockAgentCore::Types::HarnessToolUseBlock

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

Overview

A tool use request from the model.

Constant Summary collapse

SENSITIVE =
[:input]

Instance Attribute Summary collapse

Instance Attribute Details

#input ⇒ Hash, ...

The JSON input to pass to the tool.

Returns:

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


5528
5529
5530
5531
5532
5533
5534
5535
5536
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5528

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

#name ⇒ String

The name of the tool to call.

Returns:

  • (String)


5528
5529
5530
5531
5532
5533
5534
5535
5536
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5528

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

#server_name ⇒ String

The name of the MCP server providing this tool.

Returns:

  • (String)


5528
5529
5530
5531
5532
5533
5534
5535
5536
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5528

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

#tool_use_id ⇒ String

The unique ID of this tool use.

Returns:

  • (String)


5528
5529
5530
5531
5532
5533
5534
5535
5536
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5528

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

#type ⇒ String

The type of tool use.

Returns:

  • (String)


5528
5529
5530
5531
5532
5533
5534
5535
5536
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5528

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