Create Social Post
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- 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
- Node.js
- Python
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"
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"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"
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"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"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool ghl.create_social_post executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}