Write and manage articles
manage_articlesWrite, edit, rewrite, delete or restore an article. Never publishes. operation: draft = write a draft for a question, or for a planned article_id; edit = change the title, meta or exact words of a written article (title, meta, replacements); refresh = rewrite a written article with the current brand profile; delete = move to Trash (restorable); restore = bring back from Trash. Without confirm: true NOTHING changes: you get a preview. Show it to the user and call again with confirm: true only after they approve it.
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": {
"operation": "<operation>"
},
"name": "manage_articles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Only for operation edit. New meta description. | |
| brand | No | Brand id, name or domain (from get_account (view: brands)). Optional when the account has a single brand. | |
| title | No | Only for operation edit. New title. | |
| confirm | No | Leave out (or false) to get a preview: nothing changes. Set true ONLY after the user approved that exact preview. | |
| language | No | Only for operation draft. Only when the article must be written in another language than the brand's, e.g. "English (en)" for the action english:fanout. Omit otherwise. | |
| question | No | Only for operation draft, refresh. The buyer question the article must answer, e.g. a prompt from get_prompts (view: gaps). | |
| operation | Yes | What to do. | |
| article_id | No | Or the id of a PLANNED article of the content plan (get_content (view: plan)): writes that topic in place. | |
| replacements | No | Only for operation edit. Find-and-replace edits in the body, applied in order. |