get_active_sessions
List active sessions and running queries with blocking details to diagnose performance issues and resolve concurrency bottlenecks.
Instructions
List active sessions and running queries, including blocking information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum sessions to return (longest-running first, max 1000). | |
| database_name | No | Optional database name. Defaults to AZURE_SQL_DEFAULT_DATABASE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||