Update a content group
update_content_groupEdits an existing content group: its name, description, color, or matching rules. Only the fields you pass change; omit a field to leave it untouched. Passing rules REPLACES the whole rule list, so read the current rules with list_content_groups first if you mean to add one, and pass them back as they came ({ operator, value, id? }) or as { type, value }; give type or operator on a rule, not both. A rule id you pass is kept when it is unique in the list. Changing rules reassigns pages immediately in every report that uses the group; nothing is recomputed or stored, so the next get_content_group_performance call reflects the edit. A regex rule that cannot compile is rejected; one that is valid but unsupported by the warehouse or skipped as ReDoS-prone is accepted and reported in ruleWarnings. Relay those, since a skipped pattern matches no pages at all.
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": {
"groupId": "<groupId>"
},
"name": "update_content_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | ||
| rules | No | Replaces the entire rule list. Each rule is { type, value } as in create_content_group, or the list shape { operator, value, id? } that list_content_groups returns (type or operator, not both). A supplied id is kept when unique in the list. | |
| groupId | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | ||
| ruleWarnings | No |