add_users_to_group_by_attribute
Find active users by a profile attribute and add them to an Okta group, with dry-run preview and confirmation safeguards for bulk changes.
Instructions
Find ACTIVE users by profile attribute and add them to a group.
⚠️ BULK OPERATION. Defaults to dry_run=True for safety.
Args: attribute: Profile attribute (e.g. 'division') value: Attribute value to match group_id: Okta group ID to add users to dry_run: Preview only if True (default) confirm_add: Must be True when dry_run=False override_cap: Must be True to proceed if the match count exceeds the safety cap
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": {
"attribute": "<attribute>",
"value": "<value>",
"group_id": "<group_id>"
},
"name": "add_users_to_group_by_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| dry_run | No | ||
| group_id | Yes | ||
| attribute | Yes | ||
| confirm_add | No | ||
| override_cap | No |