Skip to main content

Ghl Create Product Collection

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.ghl_create_product_collection
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 9a5e1c8c7ffd2ad687bdc04efe7ddf7d553aa9a4c174ddb447070d89bfade2c0

Create a new product collection GHL category: Payments. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-ghl-create-product-collection-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_create_product_collection",
"arguments": {
"name": "name_example",
"slug": "slug_example",
"seo": {},
"image": "image_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"name",
"slug"
],
"properties": {
"seo": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "SEO title"
},
"description": {
"type": "string",
"description": "SEO description"
}
},
"description": "Optional SEO metadata for the product collection."
},
"name": {
"type": "string",
"description": "Collection name"
},
"slug": {
"type": "string",
"description": "Collection URL slug"
},
"image": {
"type": "string",
"description": "Collection image URL"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"locationId": {
"type": "string",
"description": "GHL Location ID (optional, uses default if not provided)"
},
"strictTenant": {
"type": "boolean",
"default": true,
"description": "Require tenantId to match locationId routing (default: true)."
}
}
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the GHL MCP operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Tool-specific GHL or local navigation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe execution, routing, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false; credential values are never returned."
}
},
"description": "Normalized GHL MCP response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-ghl-create-product-collection-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_create_product_collection",
"arguments": {
"name": "name_example",
"slug": "slug_example",
"seo": {},
"image": "image_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.ghl_create_product_collection executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}