List roles
list_rolesLists PostgreSQL roles with their attributes and memberships, omitting passwords. Use it to audit user privileges, login and superuser flags, replication rights, and role grants.
Instructions
Roles with their attributes (superuser, login, replication, bypass RLS …) and memberships. Never returns passwords.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||