pg_view_list
Retrieve PostgreSQL view definitions from a database, optionally filtering by schema.
Instructions
List views with their definitions. Optionally filter by 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": {
"target": "<target>"
},
"name": "pg_view_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name filter | |
| target | Yes | Target name from ~/.dbx/targets/ |