Class: Aws::BedrockAgentCoreControl::Types::ToolSchema
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::ToolSchema
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb
Overview
ToolSchema is a union - when making an API calls you must set exactly one of the members.
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.
Direct Known Subclasses
Defined Under Namespace
Classes: InlinePayload, S3, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#inline_payload ⇒ Array<Types::ToolDefinition>
The inline payload of the tool schema.
-
#s3 ⇒ Types::S3Configuration
The Amazon S3 location of the tool schema.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#inline_payload ⇒ Array<Types::ToolDefinition>
The inline payload of the tool schema. This payload contains the schema definition directly in the request.
8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8906 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 |
#s3 ⇒ Types::S3Configuration
The Amazon S3 location of the tool schema. This location contains the schema definition file.
8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8906 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
8906 8907 8908 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 8906 def unknown @unknown end |