Create Post Draft
autoposter_draft_postCreates a draft post for human review. If API key lacks direct publish, post is saved as pending_approval and notifications are sent to workspace approvers. Accepts mediaUrls (public URLs) or files (client-supplied file objects up to 100MB). For large video files over 100MB, tell the user to provide a direct public file URL or use autoposter_get_media_upload_url.
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": {
"accountIds": "<accountIds>",
"content": "<content>"
},
"name": "autoposter_draft_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Optional client-supplied file objects to attach to the post. | |
| title | No | Optional title. Used by YouTube, Pinterest and WordPress; ignored elsewhere. | |
| content | Yes | Base text content of the post. | |
| mediaIds | No | Optional list of existing media IDs from workspace media library (from autoposter_list_media). | |
| postType | No | Optional target format where applicable: 'post' (default feed post/carousel), 'reel' (Instagram or Facebook Reel; requires video), 'story' (Instagram or Facebook 24h Story; requires image or video), or 'shorts' (YouTube Shorts; vertical video under 60s). Ignored on platforms without format variants. | |
| mediaUrls | No | Optional public image or video URLs to attach (e.g. from autoposter_upload_media). | |
| accountIds | Yes | List of account IDs from autoposter_list_accounts. | |
| visibility | No | Optional audience for TikTok posts (default PUBLIC_TO_EVERYONE). Ignored on other platforms. | |
| firstComment | No | Optional first comment posted on the post right after it publishes (e.g. links or hashtags). Supported on platforms with comment support such as X, Facebook, Instagram, LinkedIn, Threads, Bluesky, Mastodon, Telegram, Discord. | |
| threadComments | No | Optional thread: follow-up texts posted in order after publishing, each replying to the previous one. If firstComment is also set, these come after it. On X this makes a tweet thread. | |
| platformContent | No | Optional platform-specific content overrides (e.g. twitter, linkedin). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Status message indicating draft creation. | |
| draftPosts | Yes | List of created draft posts per account. | |
| instructions | No | Instructions for approving or viewing the draft. |