Agent Registry v1 API - Class McpServer.Types.Tool (1.0.0-beta01)

public sealed class McpServer.Types.Tool : IMessage<McpServer.Types.Tool>, IEquatable<McpServer.Types.Tool>, IDeepCloneable<McpServer.Types.Tool>, IBufferMessage, IMessage

Reference documentation and code samples for the Agent Registry v1 API class McpServer.Types.Tool.

Represents a single tool provided by an MCP Server.

Inheritance

object > McpServer.Types.Tool

Namespace

Google.Cloud.AgentRegistry.V1

Assembly

Google.Cloud.AgentRegistry.V1.dll

Constructors

Tool()

public Tool()

Tool(Tool)

public Tool(McpServer.Types.Tool other)
Parameter
Name Description
other McpServerTypesTool

Properties

Annotations

public McpServer.Types.Tool.Types.Annotations Annotations { get; set; }

Output only. Annotations associated with the tool.

Property Value
Type Description
McpServerTypesToolTypesAnnotations

Description

public string Description { get; set; }

Output only. Description of what the tool does.

Property Value
Type Description
string

Name

public string Name { get; set; }

Output only. Human-readable name of the tool.

Property Value
Type Description
string