Find columns by name
find_columnsSearch column names and comments across all tables and views to locate every table containing a specific column, such as policy_id, using a connection and pattern.
Instructions
Searches column names (and column comments) across all tables and views, e.g. to find every table that has a 'policy_id' column.
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>",
"pattern": "<pattern>"
},
"name": "find_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 200. | |
| schema | No | Only this schema. | |
| pattern | Yes | 'policy_id' = contains, 'policy*' = starts with, or a LIKE pattern with % (case-insensitive). | |
| connection | Yes | DBeaver connection name (as shown in DBeaver), its id, or project/name. See list_connections. |