Build Embeddings
build_embeddingsUpdate the vector index behind semantic and hybrid search to match vault notes, embedding only changed chunks or rebuilding all when forced; returns the number of chunks embedded.
Instructions
Bring the vector index behind semantic and hybrid search up to date with the notes; returns the number of chunks embedded.
Embeddings are built automatically, so it is needed only after reindex with force, after a failed build (last_build_embeddings_error in get_index_status), or with force to rebuild them all.
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": "build_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Re-embed every chunk, as after the embedding model changed; the current embeddings keep serving until the rebuild completes. Default false embeds only what changed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||