Social & video · publish_social_post
Publish social post
Publish immediately on the LinkedIn page or X.
- Price
- included
- Requirements
- Page LinkedIn or X
- set it up in Settings → Integrations
- Human approval
- Yes, by default
- outside-facing write: a human validates
Input
| Field | Type | Description |
|---|---|---|
| posts | array | Batch publish: the FULL list of posts to publish in one call (preferred whenever there is more than one). Each item takes the same fields as a single post. When provided, the top-level single-post fields are ignored. |
| channel | linkedin | twitter | Target network |
| text | string | Final validated post text |
| contentId | string | Optional marketingContent UUID to mark as published |
| campaignId | string | Optional campaign UUID to attach the post to |
| fileId | string | Visual file id (kept on the record; NOT uploaded — warning returned) |
| imageUrl | string | Visual URL hint (kept on the record; NOT uploaded — warning returned) |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"publish_social_post","input":{"posts":[],"channel":"linkedin","text":"…","contentId":"…"}}'$
run({ "tool": "publish_social_post", "input": {"posts":[],"channel":"linkedin","text":"…","contentId":"…"} })