Governance List Grants To User
governance_list_grants_to_userLists roles granted to a specific Snowflake user and optionally includes hierarchy to reveal inherited grants.
Instructions
List roles granted to a specific user. Set include_hierarchy to append INCLUDE HIERARCHY. 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": {
"user_name": "<user_name>"
},
"name": "governance_list_grants_to_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_name | 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 | |||