pg_show_grants
Show all database-level PostgreSQL grants assigned to a given role for permission auditing.
Instructions
Show database-level PostgreSQL grants for a role.
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_show_grants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| database | No |