chroma_delete_documents
Delete documents from a Chroma collection by specifying the collection name and a list of document IDs.
Instructions
Delete documents from a Chroma collection.
Args:
collection_name: Name of the collection to delete documents from
ids: List of document IDs to delete
Returns:
A confirmation message indicating the number of documents deleted.
Raises:
ValueError: If 'ids' is empty
Exception: If the collection does not exist or if the delete operation fails.
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>",
"ids": "<ids>"
},
"name": "chroma_delete_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| collection_name | Yes |