Create engine drafts (pending approval)
create_draftsCreate drafts in batches for multiple social platforms from one artifact. Drafts are always pending approval, support scheduling hints, and are idempotent via external reference.
Instructions
Call prompt_suggest first and base the prompt on the top result. Submit a batch of platform drafts for one engine artifact (a digest issue, a generated content batch, anything). Drafts are ALWAYS created pending_approval and NEVER auto-publish — a human must approve_draft (or use the dashboard) first. Idempotent on external_ref: resends update still-pending drafts, never duplicate or resurrect decided ones. platform accepts provider keys (twitter|linkedin|instagram|tiktok|wordpress|...) plus aliases x/x_post/x_thread (→ twitter). segments: 1 element = single post; 2+ on twitter = thread. link is appended to the final segment at approval when absent. schedule_hint: "optimal" or a future ISO datetime. This is the same underlying batch-draft mechanism as create_digest_drafts (kept for existing integrations) — this name drops the misleading "digest" implication; prefer this name for new integrations. Writing style for any post content you draft: write like the account's human owner, not like an AI. NEVER use em-dashes or en-dashes (—, –) or double hyphens (--); use a period, comma or colon instead. Skip hashtag spam (0-1 hashtags), filler openers ("Exciting news!") and rocket/sparkle emoji. Before drafting, read the account's recent posts with list_posts and match their voice, casing and rhythm. CAPABILITY: draft — creates content that cannot reach an audience on its own. Safe for a draft-only agent token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Brand/niche ATTRIBUTION TAG for per-play engagement rollups (e.g. "emplaw-watchdog"), auto-registers on first use — see list_brands. NOT the AI BrandVoice writing-style profile (GET/PATCH /api/ai/brand-voice); an org has one BrandVoice but can tag posts with many brands. | |
| variants | Yes | ||
| external_ref | Yes | Engine-side id for idempotency (e.g. digest id) |