chroma_create_collection
Set up a new vector collection with adjustable HNSW settings and select an embedding function (OpenAI, Cohere, etc.). Add metadata as needed.
Instructions
Create a new Chroma collection with configurable HNSW parameters.
Args:
collection_name: Name of the collection to create
embedding_function_name: Name of the embedding function to use. Options: 'default', 'cohere', 'openai', 'jina', 'voyageai', 'ollama', 'roboflow'
metadata: Optional metadata dict to add to the 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_name": "<collection_name>"
},
"name": "chroma_create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | ||
| collection_name | Yes | ||
| embedding_function_name | No | openai_compat |