db_deduplicate_embeddings
Remove duplicate embedding BLOBs already stored in sqlite-vec. Coverage-gated operation keeps fallback rows without a vec0 mirror; dry run by default.
Instructions
Remove base-table embedding BLOBs already represented in sqlite-vec.
The operation is coverage-gated: rows without a confirmed vec0 mirror keep
their BLOB fallback. Defaults to a report-only dry run. Run db_compact
afterwards to return the newly freed pages to the filesystem.
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": "db_deduplicate_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |