Class GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest
Request message for making a call to an MCP connector. It carries the connector name, the method to invoke, and optional parameters.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Engine
Optional. The engine resource name (e.g. "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}"). Used as the search engine id when invoking tool registry tools that issue Discovery Search Service requests.
Declaration
[JsonProperty("engine")]
public virtual string Engine { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Method
Required. The method to invoke (e.g. "tools/list", "tools/call", "resources/read", "prompts/get", etc.).
Declaration
[JsonProperty("method")]
public virtual string Method { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Params__
Optional. Arbitrary structured parameters for the method. Using google.protobuf.Struct keeps the payload
schema-flexible, matching JSON-RPC's free-form params field.
Declaration
[JsonProperty("params")]
public virtual IDictionary<string, object> Params__ { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
ToolSpecVersion
Optional. The tool spec version to resolve the connector's tool surface against. This corresponds to the connector's BAP tool spec file name (e.g. "v2", "v5.2"). When unset, the server uses its default (latest) tool spec for the connector. Applies to all methods (e.g. "tools/list" and "tools/call").
Declaration
[JsonProperty("toolSpecVersion")]
public virtual string ToolSpecVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |