pg_connect
Connect to a configured PostgreSQL server target. Specify a target name if multiple are available, otherwise uses the default target.
Instructions
Connect to a PostgreSQL server target. If multiple targets are configured, specify which one. Otherwise connects to the default target.
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_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target name from ~/.dbx/targets/ | |
| profile | No | Named connection profile (optional, uses default if omitted) |