Change an account group
update_groupRenames a group and/or replaces its accounts (channel_ids becomes the whole list; [] empties it). channel_ids must belong to this workspace. Posts already made keep the accounts they had. Its market is set with set_audience.
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": {
"workspace_id": "<workspace_id>",
"group_id": "<group_id>"
},
"name": "update_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| group_id | Yes | ||
| channel_ids | No | Every account the group should hold (replaces the list) | |
| workspace_id | Yes | Workspace id from list_workspaces |