update-user
Update a Foundry VTT user account: change permission role, login name, player color, pronouns, or assigned character. Guards against demoting the last GM.
Instructions
Update a Foundry user account: permission role (e.g. demote a trusted player to player), login name, player color, pronouns, or assigned character. GM admin — guarded so the bridge user's own role and the world's last gamemaster cannot be demoted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Rename the user account (their login name). | |
| role | No | Permission role: 'none' (banned) | 'player' | 'trusted' (trusted player) | 'assistant' (assistant GM) | 'gamemaster'. Guarded: the bridge user's own role and the world's last gamemaster cannot be demoted. | |
| user | Yes | User id or exact name to update (case-insensitive name match allowed). No default — account edits are always explicit. | |
| color | No | Player color as #rrggbb — used for cursors, targeting, and chat borders. | |
| pronouns | No | Pronouns shown next to the user name. | |
| character | No | Actor id or name to assign as the user's character (their default speaker / PC). Pass "none" to clear the assignment. |