list_sessions
Lists SQL Server sessions with login, host, database, status, blocking, wait, CPU, and current SQL to help diagnose activity and blocking.
Instructions
Server sessions with login, host, program, database, status, blocking session, wait, CPU and current SQL.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | ||
| only_active | No | ||
| include_system | No |