mysql_grant_privileges
Assign specific database permissions to a MySQL user with control over host, database, privileges, and grant option.
Instructions
Grant privileges on a database to 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>",
"database": "<database>",
"privileges": "<privileges>"
},
"name": "mysql_grant_privileges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| user | Yes | ||
| database | Yes | ||
| privileges | Yes | ||
| withGrantOption | No |