Get database connection
databases.connection.getGet connection details for an authorized managed database. This result contains credentials and must not be displayed, logged, or copied unless the user explicitly requests them; prefer databases.bind for app configuration.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"deployment_id": "database-deployment-id"
},
"name": "databases.connection.get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployment_id | Yes | managed database deployment identifier | |
| organization_id | No | organization membership to use for this call; omit only when the account has one current membership |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes |