Get Role
get_roleRead one access role by its KEY (e.g. "ADMIN"), including the full list of privileges it grants. Returns key, name, description, isDefault (whether new users get this role) and privileges (privilege key + description). Use this to confirm a role key and its privilege keys before gating a route or component on them; list_roles shows every role. Fails with ROLE_NOT_FOUND when no role has the given key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| key | Yes | Role KEY, e.g. "ADMIN" (see list_roles). |