Improve article SEO with AI
improve_article_seoRewrites the article body with AI to fix its failing on-page SEO checks, exactly like the Improve with AI button: the current score is computed (with the competitor benchmark when a done advanced analysis exists), the failing body-level checks, missing sub-keywords and open competitor gaps become the rewrite instructions, the article is rewritten and saved, then re-scored. Title, meta description, slug, links and images are never changed; use the update_* tools for those. Synchronous and slow: takes 1 to 3 minutes, wait for it instead of retrying. The body is replaced in place and the previous version is not kept. Fails without charging when nothing is left to improve. Pass locale to improve a translation. Editing a published article marks it Out of Sync until sync_article_to_cms is called. Returns previous_score, new_score and the instructions that were applied. Costs 1 AI brain credit, charged after the work, not refunded on failure. Requires an active subscription or free trial. Pass confirm=true to acknowledge the AI brain credits charge; without it the tool only returns the cost and your balance. Pass website_id when the account has several websites (see get_account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Translation locale (e.g. "fr") to score instead of the default-language article. | |
| confirm | No | Set to true to acknowledge the AI brain credit charge. Omit it to only get the cost and your balance. | |
| article_id | Yes | Article id from list_articles. | |
| website_id | No | Website id from get_account. Optional when the account has a single website. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | ||
| new_score | No | ||
| article_id | No | ||
| website_id | No | Website the result belongs to. | |
| previous_score | No | ||
| credits_balance | No | Current AI brain credits balance; only with requires_confirmation. | |
| credits_charged | No | ||
| credits_required | No | AI brain credits the call would charge; only with requires_confirmation. | |
| instructions_applied | No | ||
| credits_balance_after | No | AI brain credits balance after this call. | |
| requires_confirmation | No | Present when the tool did not run: it needs confirm=true. The other fields are then absent. |