user_privileges
Effective privileges of one SingleStore user with the reason for each (direct, or via role ← group), its groups and roles, resource pool grants, and SHOW GRANTS (password hash hidden). Read-only.
Instructions
Effective privileges of one SingleStore user with the reason for each (direct, or via role ← group), its groups and roles, resource pool grants, and SHOW GRANTS (password hash hidden). Read-only.
Args:
user: User name.
host: Host part ('%' etc.). Needed only when the name exists for several hosts.
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": "<user>"
},
"name": "user_privileges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| user | Yes |