m365_manage_group_member
Add or remove a user from a Microsoft 365 distribution group by specifying the group and member email, with an action of add or remove.
Instructions
Adds or removes a user from a distribution group (action: 'add' or 'remove').
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": "<group_identity>",
"member_email": "<member_email>"
},
"name": "m365_manage_group_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | add | |
| member_email | Yes | ||
| group_identity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |