search_catalog
Search a PostgreSQL catalog by exact table, column, or comment match; omit schema to scan all visible non-system schemas.
Instructions
按表名、字段名或注释搜索精确database目录;schema可省略以跨全部可见非系统schema搜索。
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>",
"query": "<query>"
},
"name": "search_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| schema | No | 所选database中的精确schema名字;未知时先用list_schemas或省略search_catalog的schema跨schema搜索。 | |
| database | Yes | 通过list_databases发现的精确PostgreSQL数据库名;不得猜测或传地址。 | |
| connection | Yes | DBeaver中已有PostgreSQL连接的显示名称或连接ID;不得传地址、账号或密码。 |