MCP Tools Reference: cloudproductregistry.googleapis.com

Tool: get_logical_product

Retrieves details of a specific LogicalProduct, which is a standalone, customer-facing product within a Product Suite. This tool should be invoked when you need to fetch information about a specific logical product, using its unique name in the format of logicalProducts/{logical_product_id}.

The following sample demonstrate how to use curl to invoke the get_logical_product MCP tool.

Curl Request
                  
curl --location 'https://cloudproductregistry.googleapis.com/mcp' \
--header 'content-type: application/json' \
--header 'accept: application/json, text/event-stream' \
--data '{
  "method": "tools/call",
  "params": {
    "name": "get_logical_product",
    "arguments": {
      // provide these details according to the tool's MCP specification
    }
  },
  "jsonrpc": "2.0",
  "id": 1
}'
                

Input Schema

Request message for GetLogicalProduct.

GetLogicalProductRequest

JSON representation
{
  "name": string
}
Fields
name

string

Required. The name of the LogicalProduct to retrieve. Format: logicalProducts/{logical_product}

Output Schema

Represents an independent service offering that can be provisioned by a customer.

LogicalProduct

JSON representation
{
  "name": string,
  "title": string,
  "productSuite": string,
  "variants": [
    string
  ],
  "lifecycleState": enum (LifecycleState),
  "replaced": boolean,
  "replacement": string
}
Fields
name

string

Identifier. The resource name of the LogicalProduct. Format: logicalProducts/{logical_product}.

title

string

Display name of the LogicalProduct.

productSuite

string

Product suite associated with the logical product. Format: productSuites/{product_suite}.

variants[]

string

Output only. Child variant resource references. Format: logicalProducts/{logical_product}/variants/{variant}

lifecycleState

enum (LifecycleState)

Output only. Current Lifecycle state of the logical product.

replaced

boolean

Output only. Indicates whether the logical product has been replaced. If false, the product is active. If true, the product has been replaced by another type, and the replacement field contains the resource name of that replacement.

replacement

string

Output only. The resource name of the Logical Entity that the logical product is replaced by. This field is only populated when this logical product is replaced by some other type. Eg: logicalProducts/{logical_product}/variants/{variant}, productSuites/{product_suite}, etc.

Tool Annotations

Destructive Hint: ❌ | Idempotent Hint: ✅ | Read Only Hint: ✅ | Open World Hint: ❌