update_rank_keywords
Change tracked keywords: pause or resume them (a paused keyword is not checked and costs nothing; its history stays), replace their tags, set the page the client wants to rank, or change which engines and devices are tracked. Switching an engine off keeps its history. Requires MCP write actions; without confirm:true it returns a preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | REPLACES the keywords' tags. To add or remove single tags and keep the rest, use addTags / removeTags instead. | |
| active | No | false = pause, true = resume. | |
| tracks | No | The COMPLETE set of engines and devices these keywords have from now on. | |
| addTags | No | Tags to add to each keyword, keeping the tags it has. Ignored when `tags` is given. | |
| confirm | No | Set true to apply. Omit for a preview. With confirm:true, also pass the preview's previewToken. | |
| clientId | Yes | Client id (from list_clients). | |
| targetUrl | No | The page the client wants to rank; null removes it. | |
| keywordIds | Yes | Keyword ids: rows[].id from get_rankings. | |
| removeTags | No | Tags to take off each keyword. Ignored when `tags` is given. | |
| previewToken | No | With confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments). |