ecp_mongo_create_user
Create a MongoDB user with readWrite access to the account's default database. Username automatically gets the account's prefix applied.
Instructions
Create a MongoDB user. db_username gets the account's own prefix applied automatically. Grants readWrite on this account's default database - MongoDB here has no read-only role option, unlike MySQL/Postgres's granular privilege grants.
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": {
"db_username": "<db_username>",
"password": "<password>"
},
"name": "ecp_mongo_create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | ||
| db_username | Yes |