db_create_user
Create a new database user by specifying database ID and username. Set password, encryption type, or access level as needed to manage access.
Instructions
Create a new database user.
Args: database_id: The database ID or label username: Username for the new user password: Password (auto-generated if not provided) encryption: Password encryption type (MySQL: caching_sha2_password, mysql_native_password) access_level: Permission level (Kafka: admin, read, write, readwrite)
Returns: Created user information
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_id": "<database_id>",
"username": "<username>"
},
"name": "db_create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | ||
| username | Yes | ||
| encryption | No | ||
| database_id | Yes | ||
| access_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||