Draft post
draft_postPOST WRITER: drafts ONE LinkedIn post in the user's own voice. It first reads their recent posts on their own LinkedIn account and writes as they write, leaning on what their best posts (most reactions + comments) did. The first draft is in the way of their best posts; each further call ("another one", "regenerate", "try something different") uses the next shape not used yet: Story-lesson-advice-you, Low to high, Timeline, Starting line. This server keeps no state: pass back usedShapes from the previous answer. When the material a shape needs is missing (the moment, the dated steps, the years, today's real numbers), it returns up to three specific questions with example answers INSTEAD of a draft — ask the user those, then call again with their answers in details and the same usedShapes. It never makes up a year, number, name or event. Use this instead of writing a post yourself. For small edits the user asks for, change the draft yourself (calling again moves to the next shape). SAVES NOTHING AND POSTS NOTHING: show the draft, and publish it with create_post only after the user says yes to it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| about | No | What the post is about, in the user's words (a topic, a rough thought, what happened). | |
| details | No | Everything the user has given for this post: the moment, the dates, the numbers, the years, their answers to questions an earlier call asked. Their words, nothing added. | |
| language | No | Write in this language. Defaults to the language of their posts, else English. | |
| usedShapes | No | The usedShapes value from the previous draft_post answer in this conversation. Omit for the first draft. | |
| writeAnyway | No | true only when the user says to write it anyway without answering the questions: a short draft from only what they gave, plus one line on what would make it stronger. | |
| connectionId | No | Which of the user's LinkedIn accounts to read their posts from (its id from get_linkedin_accounts). Omit for the first live one. | |
| previousDrafts | No | Earlier drafts shown in this conversation, so a new one does not repeat their wording. |