Skip to main content

Create Custom Provider Config

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.create_custom_provider_config
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: a0e9a9cee48276d1cc2f3d3e2d5b395262551c46a396e9ea235b7995f0827287

Create new payment config for a location GHL category: Payments. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-create-custom-provider-config-example",
"method": "tools/call",
"params": {
"name": "ghl.create_custom_provider_config",
"arguments": {
"locationId": "locationId_123",
"live": {},
"test": {},
"tenantId": "tenantId_123",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"locationId",
"live",
"test"
],
"properties": {
"live": {
"type": "object",
"required": [
"apiKey",
"publishableKey"
],
"properties": {
"apiKey": {
"type": "string",
"description": "API key for live payments"
},
"publishableKey": {
"type": "string",
"description": "Publishable key for live payments"
}
},
"description": "Live payment configuration"
},
"test": {
"type": "object",
"required": [
"apiKey",
"publishableKey"
],
"properties": {
"apiKey": {
"type": "string",
"description": "API key for test payments"
},
"publishableKey": {
"type": "string",
"description": "Publishable key for test payments"
}
},
"description": "Test payment configuration"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"locationId": {
"type": "string",
"description": "Location ID"
},
"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-create-custom-provider-config-example",
"method": "tools/call",
"params": {
"name": "ghl.create_custom_provider_config",
"arguments": {
"locationId": "locationId_123",
"live": {},
"test": {},
"tenantId": "tenantId_123",
"strictTenant": false
}
}
}'

Example Responses

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