Change a person's groups
directory_set_groupsAdd a person to groups and take them out of others (the apps and teams those groups open). Costs $0.01 per call; nothing if it fails.
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": {
"person": "<person>"
},
"name": "directory_set_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| person | Yes | The person's id in the directory, or their email. | |
| remove | No |