Class: Aws::BedrockAgent::Types::ToolInputSchema

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

Overview

Note:

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

Note:

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

The input schema for the 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

Direct Known Subclasses

Json, Unknown

Defined Under Namespace

Classes: Json, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#jsonHash, ...

A JSON object defining the input schema for the tool.



10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
# File 'lib/aws-sdk-bedrockagent/types.rb', line 10290

class ToolInputSchema < Struct.new(
  :json,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Json < ToolInputSchema; end
  class Unknown < ToolInputSchema; end
end

#unknownObject

Returns the value of attribute unknown



10290
10291
10292
# File 'lib/aws-sdk-bedrockagent/types.rb', line 10290

def unknown
  @unknown
end