grant_database_access
Grants a database user access to a specified database on a RunCloud server using server, user, and database IDs.
Instructions
Grant database access 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": {
"serverId": "<serverId>",
"userId": "<userId>",
"databaseId": "<databaseId>"
},
"name": "grant_database_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The ID of the database user | |
| serverId | Yes | The ID of the server | |
| databaseId | Yes | The ID of the database |