Bulk update roles
bulk_update_rolesAdd or remove a role for Discord members that match specified filters, with preview and confirmation to prevent accidental changes.
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 |