memory_rebuild_embeddings
Rebuild vector embeddings for stored memory records, optionally filtering by embedding space, to refresh outdated representations after switching embedders. Idempotent operation returns counts of rebuilt and skipped records.
Instructions
v11.0: re-encode every record (or every record in a given embedding space) and update the binary + float32 vectors. Idempotent. Pass embedding_space='code' to refresh only code rows after switching the code embedder. Returns {rebuilt: int, skipped: int}.
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": "memory_rebuild_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| project | No | ||
| batch_size | No | ||
| embedding_space | No | Optional: only re-encode rows in these spaces. |