Get Running Requests
mssql_running_requestsDiagnose SQL Server performance issues by monitoring active sessions with CPU, reads, wait type, blocking, and current statement details.
Instructions
Running requests now: active user sessions with status, command, CPU, reads, elapsed time, wait type, blocking session, open transactions and the current statement. includeSleeping=true also lists idle sessions that hold an open transaction. For blocked sessions only, use mssql_blocking.
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": "mssql_running_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeSleeping | No | Also include sleeping/idle user sessions that have an open transaction, not just actively running requests. |