All tools

Marketing · draft_social_post

Draft social post

Post tailored to LinkedIn, X, Instagram or Facebook.

Price
plan AI usage
Requirements
No connector
runs on platform keys
Human approval
No
read or internal write

Input

FieldTypeDescription
topic *stringTopic / angle of the post (used as title when `title` is absent)
channel *linkedin | twitter | instagram | facebookSocial media platform
textstringThe full post copy you wrote for this network (hashtags included if any). Strongly recommended.
hookVariantsarrayOptional 2–3 alternative hooks (first lines) to offer the user
titlestringShort internal title for the calendar (default: "<channel> post: <topic>")
imageFileIdstringOptional fileId returned by generate_social_image / generate_image to attach the visual to this draft
scheduledAtstringOptional ISO 8601 target date (calendar slot) — the post stays a draft until scheduled
toneprofessional | casual | inspirationalTone of the post (default: professional) — metadata, and used by the fallback generator
includeEmojisbooleanFallback generator only: add emojis (default: false)
includeHashtagsbooleanFallback generator only: add hashtags (default: true)
campaignIdstringOptional campaign UUID to associate with
contentIdstringOptional existing marketing content UUID (planned slot) to fill instead of creating a new row
languagefr | enLanguage of the copy (default: en)

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":"draft_social_post","input":{"topic":"…","channel":"linkedin","text":"…","hookVariants":[]}}'
$run({ "tool": "draft_social_post", "input": {"topic":"…","channel":"linkedin","text":"…","hookVariants":[]} })