Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::McpServer::Tool.
Represents a single tool provided by an MCP Server.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Cloud::AgentRegistry::V1::McpServer::Tool::Annotations
Returns
- (::Google::Cloud::AgentRegistry::V1::McpServer::Tool::Annotations) — Output only. Annotations associated with the tool.
#description
def description() -> ::String
Returns
- (::String) — Output only. Description of what the tool does.
#name
def name() -> ::String
Returns
- (::String) — Output only. Human-readable name of the tool.