Class: Aws::BedrockAgentCoreControl::Types::ToolSchema

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

Overview

Note:

ToolSchema is a union - when making an API calls you must set exactly one of the members.

Note:

ToolSchema is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ToolSchema corresponding to the set member.

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

Defined Under Namespace

Classes: InlinePayload, S3, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#inline_payloadArray<Types::ToolDefinition>

The inline payload of the tool schema. This payload contains the schema definition directly in the request.

Returns:



14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 14969

class ToolSchema < Struct.new(
  :s3,
  :inline_payload,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < ToolSchema; end
  class InlinePayload < ToolSchema; end
  class Unknown < ToolSchema; end
end

#s3Types::S3Configuration

The Amazon S3 location of the tool schema. This location contains the schema definition file.



14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 14969

class ToolSchema < Struct.new(
  :s3,
  :inline_payload,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3 < ToolSchema; end
  class InlinePayload < ToolSchema; end
  class Unknown < ToolSchema; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



14969
14970
14971
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 14969

def unknown
  @unknown
end