mysql_show_grants
Retrieve all MySQL grants assigned to a specific user and host. View database privileges to manage user access.
Instructions
Show grants for a user.
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>",
"host": "<host>"
},
"name": "mysql_show_grants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| user | Yes |