get_currently_waiting_tasks
Identify currently blocked and waiting tasks in Azure SQL Database, providing real-time SQL text and wait category to diagnose performance bottlenecks.
Instructions
Get currently waiting tasks right now — real-time view of what is blocked from sys.dm_os_waiting_tasks with SQL text and wait category.
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": "get_currently_waiting_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_name | No | Optional database name. Defaults to AZURE_SQL_DEFAULT_DATABASE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||