SEO Campaigns & Content
campaign_manageAct on campaigns: approve, pause, resume or abandon (manage), release held waves (expand), revert a campaign's live changes (undo), and stage new campaigns (page scale, location pages, content sweeps, bulk edits, articles). Approving, expanding, undoing and publishing are the user's decisions: SEOmatic asks them to confirm. Reading campaigns is the campaigns tool. Cost: list is FREE and staging spends nothing. Approving or expanding bills AI credits per page as the work runs; expand without confirm: true spends nothing. undo is FREE but changes the live site. Not available on this workspace's plan; calling it returns which plan includes it. Every staged change requires human approval in SEOmatic before anything goes live. Actions: manage (approve/pause/resume/abandon/update a campaign - all but pause need the user's own confirmation, which SEOmatic asks for; needs campaignId, manageAction; optional confirm, brief); expand (release a bulk sweep's held later waves: estimate only without confirm: true; needs campaignId; optional confirm); undo (undo every live change the campaign applied (confirm: true after the user's explicit ask); needs campaignId, confirm; optional force); propose_page_scale (a set of pages on the site own page or own template; needs title, kind, brief; optional exemplarUrl, projectId, rowSourceKind, rows, libraryDatasetId, rowTarget, allowGenText, publishAsDraft); propose_location_pages (location pages on the site own layout (drafts), or existing ones improved; needs locationMode, rows; optional exemplarUrl, exemplarPlace, title); propose_content_sweep (N distinct blog articles as a campaign; needs title, topics; optional brief); propose_bulk_edit (one instruction across many pages; needs taskType; optional instruction, title, selectorKind, urls, pathPrefix, segments, maxPages); write_articles (direct N-article staging; needs topics; optional autoPublish); save_article (save a full article draft (pass title/content/slug) for one-click publish, or publish it to the CMS when the user says so (publish + confirm); needs title, content, slug, excerpt; optional metaTitle, metaDescription, publish, publishAsDraft, confirm).
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": {
"action": "<action>"
},
"name": "campaign_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Page kind, e.g. "location pages". | |
| rows | No | propose_page_scale (rowSourceKind user): one object per page. propose_location_pages: one per location (name + the facts the user gave; enrich: pageUrl). | |
| slug | No | URL slug. | |
| urls | No | The pages (selectorKind urls). | |
| brief | No | update_brief: replacement brief. propose_page_scale: template brief. propose_content_sweep: shared direction. | |
| force | No | Also restore pages a person edited since. Only after the user saw the skipped list and chose to overwrite. | |
| title | No | Campaign title. | |
| action | Yes | Which operation to run. Each action, and the parameters it needs, is listed in the tool description. | |
| intent | No | Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details. | |
| topics | No | One distinct article per topic: propose_content_sweep up to 50, write_articles 2-50. | |
| confirm | No | true only after the user's explicit yes in this conversation: manage approve/abandon (approve releases work and spend; abandon is irreversible), expand (without it: the estimate only), undo, save_article with publish. | |
| content | No | Full Markdown body. | |
| excerpt | No | Excerpt. | |
| publish | No | true sends the article to the connected CMS now, like the dashboard Publish button (needs confirm). Only when the user asked. | |
| maxPages | No | Cap on the sweep size. | |
| segments | No | Advanced mixed-template selectors (override selectorKind/instruction): each needs its own instruction, plus pathPrefix or urls. | |
| taskType | No | Sweep type, e.g. ctr_fix, schema, content_refresh. | |
| metaTitle | No | Meta title. | |
| projectId | No | The customer's own project whose fields hold their {{Column}} template. | |
| rowTarget | No | Target number of rows/pages. | |
| campaignId | No | The campaign to act on. | |
| pathPrefix | No | The prefix (selectorKind path_prefix). | |
| autoPublish | No | Default true: articles that pass our checks publish on their own, with undo; false keeps drafts. | |
| exemplarUrl | No | The customer's own page the new pages copy (layout, embeds, page type). propose_page_scale needs exemplarUrl or projectId. | |
| instruction | No | Shared per-page brief. | |
| allowGenText | No | Allow per-row AI text (costs credits). | |
| locationMode | No | create = new draft pages modelled on exemplarUrl; enrich = rewrite existing location pages (rows carry pageUrl). | |
| manageAction | No | approve releases the campaign to execution (only after the user explicitly said yes). | |
| selectorKind | No | How to select pages. | |
| exemplarPlace | No | The place the model page is about, when its title does not say. | |
| rowSourceKind | No | Where page rows come from (required with exemplarUrl; with projectId defaults to the project dataset). No AI source: an invented row list is refused. | |
| publishAsDraft | No | save_article: default true (a CMS draft), false = live; always a draft in approval mode. propose_page_scale: pages as drafts. | |
| metaDescription | No | Meta description. | |
| libraryDatasetId | No | Dataset id (rowSourceKind library). | |
| confirmDestructive | No | Same as confirm (widget spelling). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||