AI: 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: 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"
}