qdrant_cleanup
Remove stale vectors for deleted or changed files by comparing a Qdrant collection against the indexed repository path, with an optional dry run to preview deletions.
Instructions
Clean up stale vectors - remove vectors for deleted or changed files.
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": {
"collection": "<collection>",
"repo_path": "<repo_path>"
},
"name": "qdrant_cleanup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If True, only report what would be deleted | |
| repo_path | Yes | Repository path to compare against (directory that was indexed) | |
| collection | Yes | Collection name to clean |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||