AI Tool: Move To Folder ai_tool_move_to_folder code ai['result'] = record._ai_action_move_in_folder(folder_id) Move the documents in the given folder id { "properties": { "folder_id": { "type": "integer", "description": "Id of the new folder." } }, "required": ["folder_id"], "type": "object" } AI Tool: Add Tags ai_tool_add_tags code ai['result'] = record._ai_action_add_tags(tag_names) Add the tags on the document { "properties": { "tag_names": { "type": "array", "items": {"type": "string"}, "description": "Names of the tags to add" } }, "required": ["tag_names"], "type": "object" } AI Tool: Rename File ai_tool_rename_file code ai['result'] = record._ai_action_rename_file(name) Rules: 1. ORIGIN: APP (Odoo's apps, modules, models/Other), UP (User Upload), EM (Email), PE (Peppol). Use document messages to know document source. 2. DATE: Date of document creation on our system (YYYYMMDD, if day missing, default to 01). 3. SENDER: Creator name. Strip spaces/illegal chars (use CamelCase). 4. DOCTYPE: VBL(VendorBill), INV(Invoice), CRN(CreditNote), TAX(Tax/FinReport), RCP(Receipt), CV(Resume), CON(Contract), IDV(ID/Visa), INS(Insurance), FIN(Fine), MISC(Other). { "properties": { "name": { "type": "string", "maxLength": 60, "description": "new name" } }, "required": ["name"], "type": "object" }