API hub V1 API - Class Google::Cloud::ApiHub::V1::McpTool (v1.3.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::McpTool.

Details describing an MCP Tool.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotations

def annotations() -> ::Google::Cloud::ApiHub::V1::ToolAnnotations
Returns

#annotations=

def annotations=(value) -> ::Google::Cloud::ApiHub::V1::ToolAnnotations
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of what the tool does.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of what the tool does.
Returns
  • (::String) — Optional. Description of what the tool does.

#input_schema

def input_schema() -> ::Google::Cloud::ApiHub::V1::OperationSchema
Returns

#input_schema=

def input_schema=(value) -> ::Google::Cloud::ApiHub::V1::OperationSchema
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the tool, unique within its parent scope (version).

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the tool, unique within its parent scope (version).
Returns
  • (::String) — Required. The name of the tool, unique within its parent scope (version).

#output_schema

def output_schema() -> ::Google::Cloud::ApiHub::V1::OperationSchema
Returns

#output_schema=

def output_schema=(value) -> ::Google::Cloud::ApiHub::V1::OperationSchema
Parameter
Returns

#title

def title() -> ::String
Returns
  • (::String) — Optional. Optional title for the tool.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — Optional. Optional title for the tool.
Returns
  • (::String) — Optional. Optional title for the tool.