get_indexes
Retrieve index information for SQL Server tables to inspect index structure and support schema discovery or performance troubleshooting.
Instructions
Get index information for tables
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": {
"database": "<database>"
},
"name": "get_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Filter by table name | |
| schema | No | Schema name | dbo |
| server | No | SQL Server instance (e.g., "server\instance" or "server,port"). Uses default if not specified. | |
| database | Yes | Database name |