vacuum_embeddings
Remove orphaned embedding rows whose chunk_id no longer exists in the chunks table. Safe, idempotent cleanup that leaves live data untouched.
Instructions
Drop orphaned embedding rows whose chunk_id no longer exists in the chunks table. Safe and idempotent; does not touch live data. Useful after migrations from pre-v0.7.0 schemas where chunk deletion did not always cascade to the derived layer.
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": {
"vault": "<vault>"
},
"name": "vacuum_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes |