grouper_add_member
Adds one or more subjects to a group, supporting batch additions through a subjects array for efficient membership updates.
Instructions
Add one or more members to a group. Supports batch operations - pass multiple subjects in the "subjects" array for efficiency instead of making multiple calls. Returns detailed information about the group and results for each member added. For single member additions, you can use either the "subjectId" parameter OR the "subjects" array.
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": {
"groupName": "<groupName>"
},
"name": "grouper_add_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subjects | No | Array of subjects to add in a single batch operation. More efficient than multiple calls. Each object requires subjectId, with optional subjectSourceId and subjectIdentifier. | |
| groupName | Yes | The full name of the group | |
| subjectId | No | The subject ID of a single member to add (use this OR subjects array, not both) | |
| subjectSourceId | No | Optional subject source ID for single member (used with subjectId) | |
| subjectIdentifier | No | Optional subject identifier for single member (used with subjectId) |