pg_disconnect
Disconnect from a PostgreSQL server target. Omit the profile to disconnect all connections.
Instructions
Disconnect from a PostgreSQL server target. Omit profile to disconnect all.
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_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target name from ~/.dbx/targets/ | |
| profile | No | Named profile to disconnect (omit to disconnect all) |