Skip to main content

Update Location

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.update_location
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 69d615f3c04b2d8d3dfb466d2e842ce907b63f26380edd7550999c54f8632f2f

Update an existing sub-account/location in GoHighLevel GHL category: Launchpad. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-update-location-example",
"method": "tools/call",
"params": {
"name": "ghl.update_location",
"arguments": {
"locationId": "locationId_123",
"companyId": "companyId_123",
"city": "city_example",
"name": "name_example",
"phone": "phone_example",
"state": "state_example",
"address": "address_example",
"country": "country_example",
"website": "website_example",
"tenantId": "tenantId_123"
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"locationId",
"companyId"
],
"properties": {
"city": {
"type": "string",
"description": "Updated city"
},
"name": {
"type": "string",
"description": "Updated name of the sub-account/location"
},
"phone": {
"type": "string",
"description": "Updated phone number"
},
"state": {
"type": "string",
"description": "Updated state"
},
"address": {
"type": "string",
"description": "Updated business address"
},
"country": {
"type": "string",
"description": "Updated 2-letter country code"
},
"website": {
"type": "string",
"description": "Updated website URL"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"timezone": {
"type": "string",
"description": "Updated timezone"
},
"companyId": {
"type": "string",
"description": "Company/Agency ID"
},
"locationId": {
"type": "string",
"description": "The unique ID of the location to update"
},
"postalCode": {
"type": "string",
"description": "Updated postal/ZIP code"
},
"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-update-location-example",
"method": "tools/call",
"params": {
"name": "ghl.update_location",
"arguments": {
"locationId": "locationId_123",
"companyId": "companyId_123",
"city": "city_example",
"name": "name_example",
"phone": "phone_example",
"state": "state_example",
"address": "address_example",
"country": "country_example",
"website": "website_example",
"tenantId": "tenantId_123"
}
}
}'

Example Responses

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