Generate post copy (server pipeline)
flypost_generate_post_draftRun Flypost's tuned draft writer for a draft (grounded on its concept, the Brain, and the brand voice). Pass feedback to refine the current text instead of writing fresh. Blocks until ready (typically 1-2 minutes).
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": {
"draft_id": "<draft_id>"
},
"name": "flypost_generate_post_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| feedback | No | Improvement feedback — refines the existing draft text rather than rewriting from scratch. | |
| post_style | No | Optional named post style. | |
| notebook_id | No | Ground the write on one notebook. | |
| freeform_prompt | No | For free-form drafts: the topic/prompt to write about. |