Create or edit a group of accounts
groups_saveA group of connected accounts is also a posting set ("post to my launch set"): create one (no id), rename, recolor or set its defaults (id; defaults {postText?, firstComment?, tags?, signature?, settings?: {: {...}}}, null clears them), put accounts in it (connectionIds; an account sits in one group at most), or delete it (id, delete: true; its accounts become ungrouped). Needs the write scope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "groups_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The group id; omit to create. | |
| name | No | Up to 60 characters. | |
| color | No | #rrggbb. | |
| delete | No | Delete the group. | |
| defaults | No | What every post to the group starts from; the post's own fields win. | |
| connectionIds | No | Accounts to move into this group (connections_list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | No | ||
| group | No | ||
| deleted | No |