Create a topic cluster
create_topic_clusterCreates a topic cluster on a property by grouping keywords under a name. Cluster names are unique per property, and the call is idempotent: if the name already exists the existing cluster is returned with alreadyExisted: true instead of an error, so there is never anything to retry. Use update_topic_cluster to change an existing cluster's keywords. Keywords are stored as text and matched against GSC queries in the dashboard: a keyword is a case-insensitive substring unless it is wrapped in slashes (/seo ?tools/), which makes it a regex. A /regex/ keyword that is invalid, longer than 2000 characters or can match an empty string (/acme|/) is refused and nothing is written. A new cluster comes back with issues when a regex keyword saved with a caveat: severity "warning" (the backtracking guard skips it, so it never matches) or "info" (the warehouse cannot run it, so the numbers come from the slower Search Console API); relay those to the user.
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": {
"siteUrl": "<siteUrl>",
"name": "<name>",
"keywords": "<keywords>"
},
"name": "create_topic_cluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| siteUrl | Yes | ||
| keywords | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | No | Regex keywords saved with a caveat (the same checks as the web editor). Only on a newly created cluster. | |
| cluster | No | ||
| alreadyExisted | No |