update_document_class
Change a document's class in the content repository to categorize it correctly, preventing property loss by updating properties separately.
Instructions
PREREQUISITES: Before using this tool, you MUST call ONE of these tools first:
list_all_classes - Call this tool only IF IT EXISTS and the user is using a (re)classification workflow where we need highest accuracy.
determine_class - For general class update.
Description: Changes a document's class in the content repository. WARNING: Changing a document's class can result in loss of properties if the new class does not have the same properties as the old class. Properties that don't exist in the new class will be removed from the document.
This tool ONLY changes the document's class and does NOT update any properties. To update properties after changing the class, use the update_document_properties tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | The document id or path (required). This can be either the document's ID (GUID) or its path in the repository (e.g., "/Folder1/document.pdf"). | |
| class_identifier | Yes | The new class identifier for the document (required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |