# Cloud API Registry v1 API - Class GetMcpToolRequest (1.0.0-beta01)

    public sealed class GetMcpToolRequest : IMessage<GetMcpToolRequest>, IEquatable<GetMcpToolRequest>, IDeepCloneable<GetMcpToolRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud API Registry v1 API class GetMcpToolRequest.

Message for getting a McpTool

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetMcpToolRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetMcpToolRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiRegistry.V1/latest/Google.Cloud.ApiRegistry.V1.GetMcpToolRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetMcpToolRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiRegistry.V1/latest/Google.Cloud.ApiRegistry.V1.GetMcpToolRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetMcpToolRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiRegistry.V1/latest/Google.Cloud.ApiRegistry.V1.GetMcpToolRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ApiRegistry.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiRegistry.V1/latest/Google.Cloud.ApiRegistry.V1)

## Assembly

Google.Cloud.ApiRegistry.V1.dll

## Constructors

### GetMcpToolRequest()

    public GetMcpToolRequest()

### GetMcpToolRequest(GetMcpToolRequest)

    public GetMcpToolRequest(GetMcpToolRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiRegistry.V1/latest/Google.Cloud.ApiRegistry.V1.GetMcpToolRequest` |

## Properties

### McpToolName

    public McpToolName McpToolName { get; set; }

[McpToolName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiRegistry.V1/latest/Google.Cloud.ApiRegistry.V1.McpToolName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiRegistry.V1/latest/Google.Cloud.ApiRegistry.V1.GetMcpToolRequest#Google_Cloud_ApiRegistry_V1_GetMcpToolRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiRegistry.V1/latest/Google.Cloud.ApiRegistry.V1.McpToolName` |   |

### Name

    public string Name { get; set; }

Required. Name of the resource
Format:
projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |