Generate today's drafts
generate_draftRun the daily draft engine now: generates today's pending drafts for the active flow (calendar-aware, freshness-guarded, validator-checked). Idempotent per day — re-running fills gaps without touching drafts the user already decided on. force=true wipes today's PENDING drafts first. slot_index targets ONE slot of a configured asset flow (campaign/daily-products/daily-generative) so a single failed slot can be re-fired without regenerating the day. SLOW: each draft is 1-3 LLM calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| handle | No | Instagram handle (with or without @). Omit for your default account. | |
| context | Yes | Explain why you are calling this tool and how it fits into the business owner's goal for their Instagram presence. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include personal data, credentials, or the text of a draft. Example (20 words): "Reviewing the pending drafts before approving today's story, checking the caption matches the photo the owner expects." | |
| beat_slug | No | Generate only this beat. | |
| slot_index | No | Asset flows only: generate just this slot (0-based, `_s{n}` draft ids). |