Governance Grant Database Role
governance_grant_database_roleGrants a Snowflake database role to a user, role, or database role, optionally with grant option, and requires confirmation before applying.
Instructions
Grant a database role to a role, database role, or user. Requires confirmation. https://docs.snowflake.com/en/sql-reference/sql/grant-database-role
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>",
"grantee_kind": "<grantee_kind>",
"grantee": "<grantee>"
},
"name": "governance_grant_database_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| grantee | Yes | Quote names that aren't all uppercase, exactly as list tools return them. | |
| grantee_kind | Yes | ||
| database_role | Yes | Quote names that aren't all uppercase, exactly as list tools return them. | |
| with_grant_option | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||