search_columns
Find database columns by name across PostgreSQL tables. Specify a search term to locate columns with matching names, optionally filtering by schema.
Instructions
Search for columns by name across all tables.
Args:
search_term: Column name pattern to search (case-insensitive)
schema: Optional schema to limit search (default: all user schemas)
Returns:
List of matching columns with table information
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": {
"search_term": "<search_term>"
},
"name": "search_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_term | Yes | ||
| schema | No |