Class GoogleCloudApihubV1McpToolConfig
A tool exposed by the MCP server. Each tool wraps exactly one API Hub operation under a caller-supplied identifier.
Implements
Inherited Members
Namespace: Google.Apis.APIhub.v1.Data
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class GoogleCloudApihubV1McpToolConfig : IDirectResponseSchema
Properties
Description
Required. Description of what the tool does and how it is used. Description serves as key reference for the agent to know about the tool capabilities.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Operation
Required. The API Hub operation this tool exposes. Each tool wraps exactly one operation; callers that want to expose multiple operations should declare multiple tools.
Declaration
[JsonProperty("operation")]
public virtual GoogleCloudApihubV1OperationConfig Operation { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudApihubV1OperationConfig |
ToolId
Required. Caller-supplied identifier for the tool; each tool must have a unique identifier. This will be by used by agents to invoke the tool. Tool ID must be unique across all tools in the given MCP server configuration.
Declaration
[JsonProperty("toolId")]
public virtual string ToolId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |