Governance List Grants To Database Role
governance_list_grants_to_database_roleLists all grants assigned to a database role, optionally including hierarchical grants, to help audit and verify Snowflake access privileges.
Instructions
List grants to a database role. https://docs.snowflake.com/en/sql-reference/sql/show-grants
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": {
"database_role": "<database_role>"
},
"name": "governance_list_grants_to_database_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_role | Yes | Quote names that aren't all uppercase, exactly as list tools return them. | |
| include_hierarchy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||