Skip to main content

Add Inbound Message

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.add_inbound_message
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 9818438446878dc6c0de291157e4858201db3afd889ac6dede22b3d8aef710e8

Manually add an inbound message to a conversation GHL category: Conversations. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-add-inbound-message-example",
"method": "tools/call",
"params": {
"name": "ghl.add_inbound_message",
"arguments": {
"type": "SMS",
"conversationId": "conversationId_123",
"conversationProviderId": "conversationProviderId_123",
"call": {},
"date": "date_example",
"html": "html_example",
"altId": "altId_123",
"emailCc": [],
"emailTo": "emailTo_example",
"message": "message_example"
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"type",
"conversationId",
"conversationProviderId"
],
"properties": {
"call": {
"type": "object",
"properties": {
"to": {
"type": "string",
"description": "Called number"
},
"from": {
"type": "string",
"description": "Caller number"
},
"status": {
"enum": [
"pending",
"completed",
"answered",
"busy",
"no-answer",
"failed",
"canceled",
"voicemail"
],
"type": "string",
"description": "Call status"
}
},
"description": "Call details for call-type messages"
},
"date": {
"type": "string",
"description": "Date of the message (ISO format)"
},
"html": {
"type": "string",
"description": "HTML content for email messages"
},
"type": {
"enum": [
"SMS",
"Email",
"WhatsApp",
"GMB",
"IG",
"FB",
"Custom",
"WebChat",
"Live_Chat",
"Call"
],
"type": "string",
"description": "Type of inbound message to add"
},
"altId": {
"type": "string",
"description": "External provider message ID"
},
"emailCc": {
"type": "array",
"items": {
"type": "string"
},
"description": "CC email addresses"
},
"emailTo": {
"type": "string",
"description": "To email address"
},
"message": {
"type": "string",
"description": "Message content (for text-based messages)"
},
"subject": {
"type": "string",
"description": "Subject line for email messages"
},
"emailBcc": {
"type": "array",
"items": {
"type": "string"
},
"description": "BCC email addresses"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"emailFrom": {
"type": "string",
"description": "From email address"
},
"attachments": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of attachment URLs"
},
"conversationId": {
"type": "string",
"description": "The conversation to add the message to"
},
"emailMessageId": {
"type": "string",
"description": "Email message ID for threading"
},
"conversationProviderId": {
"type": "string",
"description": "Conversation provider ID for the message"
}
}
}

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-add-inbound-message-example",
"method": "tools/call",
"params": {
"name": "ghl.add_inbound_message",
"arguments": {
"type": "SMS",
"conversationId": "conversationId_123",
"conversationProviderId": "conversationProviderId_123",
"call": {},
"date": "date_example",
"html": "html_example",
"altId": "altId_123",
"emailCc": [],
"emailTo": "emailTo_example",
"message": "message_example"
}
}
}'

Example Responses

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