Skip to main content

Create Pipeline

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.create_pipeline
  • Contract tier: legacy
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: e62196e3871a276c0bc532a05ce4090c6f9bf854fb1f3764c4200cc7b0c32e94

Preview a new sales pipeline with one or more stages. Dry-run only: current official GHL docs publish pipeline reads but no create-pipeline write endpoint. GHL category: Opportunities. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-create-pipeline-example",
"method": "tools/call",
"params": {
"name": "ghl.create_pipeline",
"arguments": {
"name": "name_example",
"stages": [],
"dryRun": false,
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"showInFunnel": false,
"strictTenant": false,
"showInPieChart": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"name",
"stages"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the new pipeline"
},
"dryRun": {
"type": "boolean",
"default": true,
"description": "Preview changes without writing. Defaults to true because live pipeline creation is source-only/unpublished by GHL."
},
"stages": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Stage name"
},
"position": {
"type": "number",
"description": "Optional stage position override"
}
}
},
"minItems": 1,
"description": "Stages for the pipeline, in order"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"locationId": {
"type": "string",
"description": "Location ID override (uses default if not provided)"
},
"showInFunnel": {
"type": "boolean",
"description": "Show pipeline in funnel view"
},
"strictTenant": {
"type": "boolean",
"default": true,
"description": "Require tenantId to match locationId routing (default: true)."
},
"showInPieChart": {
"type": "boolean",
"description": "Show pipeline in pie chart"
}
}
}

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-create-pipeline-example",
"method": "tools/call",
"params": {
"name": "ghl.create_pipeline",
"arguments": {
"name": "name_example",
"stages": [],
"dryRun": false,
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"showInFunnel": false,
"strictTenant": false,
"showInPieChart": false
}
}
}'

Example Responses

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