update_documents
Update specified fields of existing documents in a collection by their IDs, leaving unmentioned fields unchanged.
Instructions
Update existing documents by ID.
Only specified fields are updated; others remain unchanged. Documents must already exist.
Args: params (UpdateDocumentsInput): Validated input parameters containing: - collection_name (str): Collection identifier - documents (List[DocumentInput]): Documents with updates
Returns: str: Success message with update count or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |