Class: Aws::BedrockRuntime::Types::ToolSpecification

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

Overview

The specification for the tool. 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

#descriptionString

The description for the tool.

Returns:

  • (String)


4781
4782
4783
4784
4785
4786
4787
4788
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 4781

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

#input_schemaTypes::ToolInputSchema

The input schema for the tool in JSON format.



4781
4782
4783
4784
4785
4786
4787
4788
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 4781

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

#nameString

The name for the tool.

Returns:

  • (String)


4781
4782
4783
4784
4785
4786
4787
4788
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 4781

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

#strictBoolean

Flag to enable structured output enforcement on a tool usage response.

Returns:

  • (Boolean)


4781
4782
4783
4784
4785
4786
4787
4788
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 4781

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