unused_indexes
Detect non-unique, non-primary PostgreSQL indexes with zero scans to identify drop candidates, optionally filtered by minimum size or target.
Instructions
[READ] Non-unique, non-primary indexes with zero scans (drop candidates).
Args:
min_size_bytes: Only report indexes at least this large (default 0).
target: Target name from config; omit for the default.
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": "unused_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| min_size_bytes | No |