pg_alter_role_attributes
Change PostgreSQL role attributes like login, createdb, createrole, and more. Excludes SUPERUSER for security.
Instructions
Change PostgreSQL role attributes. SUPERUSER is intentionally not supported.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"role": "<role>"
},
"name": "pg_alter_role_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| login | No | ||
| inherit | No | ||
| createdb | No | ||
| bypassrls | No | ||
| createrole | No | ||
| validUntil | No | ||
| replication | No | ||
| connectionLimit | No |