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.
6164 6165 6166 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6164 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
6152 6153 6154 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6152 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
6157 6158 6159 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6157 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
6162 6163 6164 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6162 def output_schema @output_schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6169 6170 6171 6172 6173 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6169 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 |