public sealed class McpServer.Types.Tool : IMessage<McpServer.Types.Tool>, IEquatable<McpServer.Types.Tool>, IDeepCloneable<McpServer.Types.Tool>, IBufferMessage, IMessageReference documentation and code samples for the Agent Registry v1 API class McpServer.Types.Tool.
Represents a single tool provided by an MCP Server.
Implements
IMessageMcpServerTypesTool, IEquatableMcpServerTypesTool, IDeepCloneableMcpServerTypesTool, IBufferMessage, IMessageNamespace
Google.Cloud.AgentRegistry.V1Assembly
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 |
|