Show the safety rules of a connection
pg_policyInspect what a PostgreSQL connection permits—access mode, approvals, limits, function policy, protected tables/columns, denied relations—before planning work or when a statement is refused.
Instructions
Explain what is allowed on a connection: access mode, approval, limits, function policy, protected tables and columns, denied relations.
Read it when a statement is refused, or before planning work on a connection you do not know.
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": "pg_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No |