Class: Aws::BedrockAgentCoreControl::Types::ToolDefinition

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

Overview

A tool definition for a gateway target. This structure defines a tool that the target exposes through the Model Context Protocol.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the tool. This description provides information about the purpose and usage of the tool.

Returns:

  • (String)


4521
4522
4523
4524
4525
4526
4527
4528
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 4521

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

#input_schemaTypes::SchemaDefinition

The input schema for the tool. This schema defines the structure of the input that the tool accepts.



4521
4522
4523
4524
4525
4526
4527
4528
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 4521

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

#nameString

The name of the tool. This name identifies the tool in the Model Context Protocol.

Returns:

  • (String)


4521
4522
4523
4524
4525
4526
4527
4528
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 4521

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

#output_schemaTypes::SchemaDefinition

The output schema for the tool. This schema defines the structure of the output that the tool produces.



4521
4522
4523
4524
4525
4526
4527
4528
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 4521

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