create_x_article_draft
Hold a native X ARTICLE -- the long-form rich-text format with a headline, NOT a regular post -- as a pending draft WITHOUT publishing it. Pass scheduledFor to publish it later instead of right away. Show the user the headline, full body, images and time, and when they say yes in chat call approve_draft(draftId); never tell the user to open the Socialync app to approve it. Use publish_x_article_now instead when the user has already confirmed in chat and wants it out now. The user's connected X account must have an X Premium subscription (any tier) -- without it X refuses with a 403 at publish time. Supported markdown: # ## ### headings, bold, italic, - bullet and 1. numbered lists, > blockquotes, links. Images: a cover via coverImageUrl, or via coverMediaId for an image uploaded with create_media_upload and finalize_media_upload, and an image inside the body on its own line as (JPG, PNG or WEBP, up to 20 images including the cover; Socialync copies them into its own storage when the draft is made). Tables and code blocks degrade to plain text. To publish later, pass scheduledFor to create_x_article_draft and approve it; Socialync publishes it at that time. Articles count toward the same 10/day cap as posts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"markdown": "<markdown>"
},
"name": "create_x_article_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The article headline, plain text (no markdown). | |
| markdown | Yes | The article body as markdown. Put each image on its own line as . See the tool description for the supported subset. | |
| profileId | No | The Socialync profile whose X account to publish from. Call list_profiles to see the profiles you can post to. Required only when this connection is authorized for more than one profile. | |
| coverMediaId | No | Optional cover image already in Socialync: the mediaId of ONE image from finalize_media_upload or list_media (e.g. "upload:abc123"). Use it for a cover you uploaded with create_media_upload. Pass only one of coverImageUrl and coverMediaId. | |
| scheduledFor | No | Optional ISO 8601 UTC datetime to publish the article later (e.g. 2026-04-15T14:00:00Z). Must be in the future. Leave out to publish as soon as the user approves. | |
| coverImageUrl | No | Optional cover image: a public https URL to a JPG, PNG or WEBP. |