ecp_postgres_list_privileges
List a Postgres user's per-table and default privileges on a database.
Instructions
List a Postgres user's privileges on a database. Applied per-table (all tables in the public schema) plus default privileges for future tables.
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": {
"db_name": "<db_name>",
"db_username": "<db_username>"
},
"name": "ecp_postgres_list_privileges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | Yes | ||
| db_username | Yes |