Store an article you wrote
save_articleStore an article that YOU (the assistant) wrote for the user's site in their Seonix project, as a draft (write scope — ask the user first; every plan, Free included). Seonix does not write or rewrite anything here: it keeps the text, scores it with its deterministic SEO and readability checks and returns the failing ones. Read get_site_dna first so the text fits the business; pass article_id to replace the text of an article this tool stored (articles written in Seonix or imported from the site are edited in the Seonix editor, not here). The draft appears in the dashboard, where the user can edit and publish it. Optional fields left empty keep their stored value when replacing.
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": {
"title": "<title>",
"html": "<html>"
},
"name": "save_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The article body as HTML: headings from h2 down, paragraphs, lists, tables, links, images by absolute https URL. No h1 (the title is the h1), no scripts, styles, iframes or forms: markup outside plain article content is removed. A heading id for a table of contents is kept when it is lowercase words joined by hyphens (id="care-tips"). | |
| slug | No | URL slug: lowercase latin letters, digits and hyphens. | |
| title | Yes | The article's headline (H1). | |
| excerpt | No | A short summary shown in article lists. | |
| language | No | Language code of the text, e.g. en, de, uk (default: the project's language). | |
| seo_title | No | The <title> tag, when it should differ from the headline. | |
| article_id | No | Leave empty to store a new article. Pass the id of an article this tool stored earlier to replace its text. | |
| project_id | No | Project id or slug. | |
| focus_keyphrase | No | The search phrase the article targets; the scoring checks use it. | |
| meta_description | No | The page's meta description. |