Class: Aws::BedrockAgent::Types::ToolSpecification

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Contains a specification for a tool. For more information, see [Use a tool to complete an Amazon Bedrock model response].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the tool.

Returns:

  • (String)


10681
10682
10683
10684
10685
10686
10687
10688
# File 'lib/aws-sdk-bedrockagent/types.rb', line 10681

class ToolSpecification < Struct.new(
  :name,
  :description,
  :input_schema,
  :strict)
  SENSITIVE = []
  include Aws::Structure
end

#input_schemaTypes::ToolInputSchema

The input schema for the tool.



10681
10682
10683
10684
10685
10686
10687
10688
# File 'lib/aws-sdk-bedrockagent/types.rb', line 10681

class ToolSpecification < Struct.new(
  :name,
  :description,
  :input_schema,
  :strict)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the tool.

Returns:

  • (String)


10681
10682
10683
10684
10685
10686
10687
10688
# File 'lib/aws-sdk-bedrockagent/types.rb', line 10681

class ToolSpecification < Struct.new(
  :name,
  :description,
  :input_schema,
  :strict)
  SENSITIVE = []
  include Aws::Structure
end

#strictBoolean

Whether to enforce strict JSON schema adherence for the tool input

Returns:

  • (Boolean)


10681
10682
10683
10684
10685
10686
10687
10688
# File 'lib/aws-sdk-bedrockagent/types.rb', line 10681

class ToolSpecification < Struct.new(
  :name,
  :description,
  :input_schema,
  :strict)
  SENSITIVE = []
  include Aws::Structure
end