get_session_privs
List the system privileges available to the current database connection, including directly granted privileges and effective privileges from enabled roles, deduplicated and ordered.
Instructions
List system privileges available to the current connection: directly granted system privs plus effective privs from enabled roles (deduplicated, ordered). WHEN TO CALL: only when the user explicitly asks what privileges the connection has; do NOT call as a preamble before querying tables or objects.
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": "get_session_privs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||