{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "curl -s -X POST \"http:\/\/localhost:6333\/collections\/documents\/points\/delete\" -H \"Content-Type: application\/json\" -d '{\"filter\": {\"must\": [{\"has_id\": []}]}}' 2>\/dev\/null || curl -s -X DELETE \"http:\/\/localhost:6333\/collections\/documents\" && curl -s -X PUT \"http:\/\/localhost:6333\/collections\/documents\" -H \"Content-Type: application\/json\" -d '{\"vectors\": {\"size\": 1024, \"distance\": \"Cosine\"}}'",
"description": "Reset Qdrant collection"
}
}
{
"tool_response": {
"stdout": "{\"result\":{\"operation_id\":4,\"status\":\"acknowledged\"},\"status\":\"ok\",\"time\":0.000294874}{\"status\":{\"error\":\"Wrong input: Collection `documents` already exists!\"},\"time\":0.00003578}",
"stderr": "",
"interrupted": false,
"isImage": false
}
}