get_disk_space
Retrieve disk space usage for all SQL Server database data and log files, or check a specific database, to monitor capacity and prevent storage issues.
Instructions
Get disk space usage for all database files including data and log files
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_disk_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | SQL Server instance (e.g., "server\instance" or "server,port"). Uses default if not specified. | |
| database | No | Specific database to check (optional, checks all if not specified) |