Bulk update roles
bulk_update_rolesAssign or remove a role across all members matching a filter. First call returns affected count and confirmation token; second call applies changes. Supports up to 3,000 members.
Instructions
Add or remove a role across every member matching a filter. Safe to call directly: the first call returns the affected count and a confirm_token; repeating the call with the token applies the change. Walks up to 3000 members and reports if it hits the cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role name or ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| action | Yes | ||
| filter | No | ||
| dry_run | No | ||
| confirm_token | No |