read_database_settings
Read database configuration settings for an existing PostgreSQL connection and chosen database in place of SHOW or SHOW ALL, returning requested values while masking sensitive entries.
Instructions
读取当前账号可见的数据库配置,替代SHOW/SHOW ALL;敏感配置值脱敏。
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": {
"connection": "<connection>",
"database": "<database>"
},
"name": "read_database_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | No | ||
| database | Yes | 通过list_databases发现的精确PostgreSQL数据库名;不得猜测或传地址。 | |
| connection | Yes | DBeaver中已有PostgreSQL连接的显示名称或连接ID;不得传地址、账号或密码。 |