Add Group Member
add_group_memberAdd a user to a Microsoft 365 group by group ID and user ID. Idempotent operation: if the user is already a member, it does nothing.
Instructions
Add a user to a group. Idempotent when the user is already a member.
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>",
"userId": "<userId>"
},
"name": "add_group_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| groupId | Yes |