list_active_connections
List active connections to a database, showing user, address, and process details to check who is connected before running DDL or maintenance.
Instructions
List active non-system connections to the database. Useful before running DDL or maintenance to check who is connected. Returns [{id, user, address, process, connected_at}].
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": {
"database": "<database>"
},
"name": "list_active_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database key from list_databases. | |
| userFilter | No | Optional case-insensitive .NET regex to filter by username. Example: 'SYSDBA' for admin connections only. |