Skip to main content

Upload Social Csv

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

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

Upload owned CSV content for bulk social media posts. Use remote-agent-safe inputs such as base64, dataUrl, or fileUrl; do not pass local filesystem paths from your own machine. GHL category: Marketing. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-upload-social-csv-example",
"method": "tools/call",
"params": {
"name": "ghl.upload_social_csv",
"arguments": {
"file": "file_example",
"base64": "base64_example",
"dataUrl": "https://example.com/resource",
"fileUrl": "https://example.com/resource",
"fileName": "fileName_example",
"tenantId": "tenantId_123",
"contentType": "contentType_example"
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"file": {
"type": "string",
"description": "Backward-compatible CSV content field. Must be base64 or a data URL, not a local path."
},
"base64": {
"type": "string",
"description": "Raw base64 CSV content."
},
"dataUrl": {
"type": "string",
"description": "Data URL CSV content, such as data:text/csv;base64,..."
},
"fileUrl": {
"type": "string",
"description": "HTTP/S URL for a hosted CSV file."
},
"fileName": {
"type": "string",
"description": "CSV file name."
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"contentType": {
"type": "string",
"description": "CSV MIME type, usually text/csv."
}
}
}

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-upload-social-csv-example",
"method": "tools/call",
"params": {
"name": "ghl.upload_social_csv",
"arguments": {
"file": "file_example",
"base64": "base64_example",
"dataUrl": "https://example.com/resource",
"fileUrl": "https://example.com/resource",
"fileName": "fileName_example",
"tenantId": "tenantId_123",
"contentType": "contentType_example"
}
}
}'

Example Responses

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