Skip to main content

Create Social Post

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.create_social_post
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 0ef232314c98f0c2f3d38fc3e2eec48098f6edf2e9c75eb573e34b436ae18fe9

Create a new social media post for multiple platforms GHL category: Marketing. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-create-social-post-example",
"method": "tools/call",
"params": {
"name": "ghl.create_social_post",
"arguments": {
"accountIds": [],
"summary": "summary_example",
"type": "post",
"tags": [],
"media": [],
"status": "draft",
"userId": "userId_123",
"tenantId": "tenantId_123",
"categoryId": "categoryId_123",
"scheduleDate": "scheduleDate_example"
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"accountIds",
"summary",
"type"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tag IDs to associate with post"
},
"type": {
"enum": [
"post",
"story",
"reel"
],
"type": "string",
"description": "Type of post"
},
"media": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "Media URL"
},
"type": {
"type": "string",
"description": "Media MIME type"
},
"caption": {
"type": "string",
"description": "Media caption"
}
}
},
"description": "Media attachments"
},
"status": {
"enum": [
"draft",
"scheduled",
"published"
],
"type": "string",
"default": "draft",
"description": "Post status"
},
"userId": {
"type": "string",
"description": "User ID creating the post"
},
"summary": {
"type": "string",
"description": "Post content/text"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"accountIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of connected Social Planner account IDs to post to. For OAuth-attached accounts, use postAccountId returned by complete_social_oauth_connection or attach_social_oauth_account."
},
"categoryId": {
"type": "string",
"description": "Category ID"
},
"scheduleDate": {
"type": "string",
"description": "Schedule date for post (ISO format)"
},
"followUpComment": {
"type": "string",
"description": "Follow-up comment"
}
}
}

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-social-post-example",
"method": "tools/call",
"params": {
"name": "ghl.create_social_post",
"arguments": {
"accountIds": [],
"summary": "summary_example",
"type": "post",
"tags": [],
"media": [],
"status": "draft",
"userId": "userId_123",
"tenantId": "tenantId_123",
"categoryId": "categoryId_123",
"scheduleDate": "scheduleDate_example"
}
}
}'

Example Responses

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