chromadb_upsert
Upsert text documents with embeddings into a ChromaDB collection, specifying unique IDs and optional metadata, with environment support.
Instructions
Upsert documents (with embeddings) into a ChromaDB collection.
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": {
"collection": "<collection>",
"documents": "<documents>",
"ids": "<ids>"
},
"name": "chromadb_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment: prod (default), lab | |
| ids | Yes | List of unique IDs for each document | |
| documents | Yes | List of text documents to store | |
| metadatas | No | List of metadata dicts for each document | |
| collection | Yes | Collection name (created if it doesn't exist) |