save_memories
Batch-save multiple documents to a vector database by embedding with Ollama and upserting to Qdrant, applying shared metadata and optional collection targeting.
Instructions
Save multiple documents into the vector DB in one batch.
All texts are embedded in a single Ollama call and upserted together. metadata (JSON string or object) is applied to every document. If collection is given, the memories are stored there (created automatically if missing).
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": {
"texts": "<texts>"
},
"name": "save_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | ||
| metadata | No | {} | |
| collection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |