All tools

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

FieldTypeDescription
postsarrayBatch 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.
channellinkedin | twitterTarget network
textstringFinal validated post text
contentIdstringOptional marketingContent UUID to mark as published
campaignIdstringOptional campaign UUID to attach the post to
fileIdstringVisual file id (kept on the record; NOT uploaded — warning returned)
imageUrlstringVisual 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":"…"} })