Build or rebuild a Pulse article's outline
flypost_outline_articleStep 2 of the staged article flow: build the outline from the prepared brief, or rebuild it. Returns the brief; show it to the user when they want a say, and adjust it with flypost_update_article_brief (drop weak sources, switch research mode, reorder sections). After changing sources run this again to rebuild, optionally with feedback and add_source_ids. A rebuild replaces the current outline. Then write the body with flypost_generate_article. Pass notebook_id to rebuild it from a different notebook.
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": {
"article_id": "<article_id>"
},
"name": "flypost_outline_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedback | No | What to change about the brief. | |
| article_id | Yes | ||
| project_id | No | Project id; omit for the active project. | |
| notebook_id | No | Write from ONE notebook: the brief, outline and article retrieve only from its sources. Pass the source_package_id that flypost_create_notebook returns (or a notebook id from flypost_list_sources). Typical flow when you did the research yourself: flypost_create_notebook, then save each finding with flypost_add_source_url or flypost_add_source_text (one source per tool or page you researched), then flypost_prepare_article with notebook_id and research_mode "source". For a roundup, everything comes from the notebook: save a source per tool (your own company and, for "X alternatives", X itself included), with the tool named in its title or saved from its own site so it can be matched. With research_mode "source" a tool the notebook does not cover is left out. Set on a new article, or moves an existing one onto that notebook. | |
| target_query | No | The exact search query the article is trying to rank for, e.g. "what is an impression on linkedin". Steers the writer's retrieval and prompts, and is the keyword the app's rankings report tracks. Sets it on a new article, or updates it on an existing one. | |
| research_mode | No | source: ground only on the Brain (or on notebook_id when given). online: also research the web. With notebook_id, source keeps the article to that notebook with no web search at all; online adds fresh web stats and, for a roundup, web research for whatever the notebook does not cover (entries, the tool being replaced). A roundup with no notebook should use online: its entries need live pricing and features. | |
| add_source_ids | No | REAL Brain source item ids (from flypost_search_source_docs) to pull into the brief and force-load — the app's "Add from Brain". |