Delete role
delete_roleDelete a role safely: first call previews and provides a confirm token; second call with token executes deletion.
Instructions
Delete a role. Members holding it simply lose it; nothing else changes. Safe to call directly: the first call deletes nothing and returns a preview plus a confirm_token, and the deletion only happens when the call is repeated with that token. Prefer this gated flow over telling the user to delete the role manually.
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. | |
| reason | No | ||
| dry_run | No | ||
| confirm_token | No |