list_roles
Read PostgreSQL roles and their attributes, including superuser, login, and replication, to audit access. Omit target to use the default.
Instructions
[READ] Roles and their attributes (superuser/login/replication/…).
Args:
target: Target name from config; omit for the default.
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 |
|---|---|---|---|
| target | No |