Edit a group
update_groupUse this to rename a group, change its icon or currency, or change who can open it by link (visibility: public_editable, public_view_only, or private_registered for members only). A new currency converts existing expenses in the background, so read an expense again before editing it. expectedRevision is the group's lockVersion from get_group, whose viewerAccess says what the user may change.
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": {
"groupToken": "<groupToken>",
"expectedRevision": "<expectedRevision>"
},
"name": "update_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | A new emoji for the group's icon. | |
| name | No | The group's new name. | |
| currency | No | New base currency. Existing transactions are rebased onto it in the background, which bumps their `lockVersion`: re-read a transaction before updating or deleting it after a currency change. Needs `viewerAccess.canManageSettings`. | |
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. | |
| visibility | No | Who can open the group by link. Needs `viewerAccess.canManageAccess`. A restricted group needs a linked admin; the caller becomes one when the group has none. | |
| expectedRevision | Yes | The `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it. |