bloat_live_diagnose
Diagnose live Postgres table and index bloat from production DSNs using a read-only temp snapshot. Returns findings, blockers, and fixes without altering stored timeline data.
Instructions
One-shot live diagnosis without touching your timeline file.
Snapshots into a throwaway temp DB, diagnoses, discards it. Read-only on Postgres (read-only tx, 5s timeout). Safest option for prod DSNs. Args: dsn: Postgres DSN (default: BLOAT_DSN env). Password never logged. Returns: {findings: [...with action], blockers: [...]} — same verdict set as bloat_check, plus the current xmin-holder evidence.
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": "bloat_live_diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsn | No |