Class: Google::Apis::CesV1::McpToolDefinition
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::McpToolDefinition
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Container for a tool's core definition elements that are snapshot. Schemas in the snapshot are used as-is and cannot be overridden.
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#input_schema ⇒ Google::Apis::CesV1::Schema
Represents a select subset of an OpenAPI 3.0 schema object.
-
#output_schema ⇒ Google::Apis::CesV1::Schema
Represents a select subset of an OpenAPI 3.0 schema object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ McpToolDefinition
constructor
A new instance of McpToolDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ McpToolDefinition
Returns a new instance of McpToolDefinition.
5206 5207 5208 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. The description of the MCP tool. This can be overridden by
description_override in McpToolOverride.
Corresponds to the JSON property description
5194 5195 5196 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5194 def description @description end |
#input_schema ⇒ Google::Apis::CesV1::Schema
Represents a select subset of an OpenAPI 3.0 schema object.
Corresponds to the JSON property inputSchema
5199 5200 5201 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5199 def input_schema @input_schema end |
#output_schema ⇒ Google::Apis::CesV1::Schema
Represents a select subset of an OpenAPI 3.0 schema object.
Corresponds to the JSON property outputSchema
5204 5205 5206 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5204 def output_schema @output_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5211 5212 5213 5214 5215 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5211 def update!(**args) @description = args[:description] if args.key?(:description) @input_schema = args[:input_schema] if args.key?(:input_schema) @output_schema = args[:output_schema] if args.key?(:output_schema) end |