Database connection
get_database_connectionRetrieve host, port, database, user, and masked connection URL for a managed database; optionally reveal the real URL for secret injection without exposing it.
Instructions
Host, port, database and user, plus the connection URL with the password masked. reveal: true returns the real URL: use it only to pass into set_env secrets, never print it to the 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": {
"databaseId": "<databaseId>"
},
"name": "get_database_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reveal | No | ||
| databaseId | Yes | Database id |