Add or remove a person in a group
dm.set_group_memberAdd or remove one PERSON in one GROUP of the Identity Ledger (idempotent; people only, no nested groups). Requires the delegated human's OAuth grant and a workspace role that may manage members. Group membership is a label only: it never grants a workspace role, access or invitation.
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": {
"group_identity_id": "<group_identity_id>",
"person_identity_id": "<person_identity_id>",
"action": "<action>"
},
"name": "dm.set_group_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Free-text label inside the group (add only). Grants nothing. | |
| action | Yes | ||
| group_identity_id | Yes | ||
| person_identity_id | Yes |