{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "echo \"=== Qdrant Collections Status ===\"\ncurl -s http:\/\/localhost:6333\/collections | python3 -c \"\nimport sys, json, urllib.request\ndata = json.load(sys.stdin)\nfor c in data.get('result', {}).get('collections', []):\n name = c.get('name')\n resp = urllib.request.urlopen(f'http:\/\/localhost:6333\/collections\/{name}')\n d = json.loads(resp.read())['result']\n print(f'{name:25} {d.get(\\\"points_count\\\"):>5} pts | indexed: {d.get(\\\"indexed_vectors_count\\\"):>5} | segs: {d.get(\\\"segments_count\\\")}')\"",
"description": "Check all collections"
}
}