kill_session
Terminates a specified SQL Server session to resolve blocking or free resources; requires ALTER ANY CONNECTION and cannot target the tool's own session.
Instructions
KILL a server session (requires ALTER ANY CONNECTION). Cannot kill this tool's own session.
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": {
"session_id": "<session_id>"
},
"name": "kill_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | ||
| session_id | Yes |