Plan a change to a ChurchTools group membership
ct_update_group_memberUpdates a group member's role, status, comment, and start or end date by returning a patch plan that includes only changed fields.
Instructions
Writes nothing: returns a plan that patches only the membership fields whose value changes: role, status, comment, start and end date.
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": {
"groupId": "<groupId>",
"personId": "<personId>"
},
"name": "ct_update_group_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | null clears it | |
| groupId | Yes | The group's id | |
| personId | Yes | The person's id | |
| memberEndDate | No | YYYY-MM-DD; null clears it | |
| groupTypeRoleId | No | The role id | |
| memberStartDate | No | YYYY-MM-DD; an active membership needs one | |
| groupMemberStatus | No | active, requested (awaits confirmation), waiting (waiting list) or to_delete (pending removal) |