Edit a member
update_memberUse this to rename a guest or change their colour, or to change the role (admin, editor, read_only) of a member linked to an account. expectedRevision is the member's lockVersion from get_group.
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>",
"participantToken": "<participantToken>",
"expectedRevision": "<expectedRevision>"
},
"name": "update_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The member's new name. | |
| color | No | Avatar colour, or `null` for the default. | |
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. | |
| membershipRole | No | Only for a participant linked to an account; a role for a guest is a 400. Needs `viewerAccess.canManageAccess`. A restricted group keeps at least one admin. | |
| 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. | |
| participantToken | Yes | The member's token, from `showGroup`. |