Create Folder
Creates a new folder in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_FOLDER])
Upload File
Uploads a file to a specified location in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPLOAD_FILE])
Download File
Downloads a file from OneDrive to a specified location
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOWNLOAD_FILE])
Delete File
Deletes a specified file from OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_FILE])
Rename File
Renames a file in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.RENAME_FILE])
Move File
Moves a file to a different folder in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MOVE_FILE])
Copy File
Creates a copy of a file in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COPY_FILE])
Share File
Creates a shareable link for a file in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SHARE_FILE])
List Files
Lists files in a specified folder in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_FILES])
Search Files
Searches for files in OneDrive based on specified criteria
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEARCH_FILES])
Create Sharing Link
Creates a sharing link for a file or folder in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_SHARING_LINK])
Revoke Sharing Link
Revokes an existing sharing link for a file or folder
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REVOKE_SHARING_LINK])
Add Permissions
Adds permissions for a user or group to access a file or folder
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_PERMISSIONS])
Remove Permissions
Removes permissions for a user or group from a file or folder
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_PERMISSIONS])
Create Folder Shortcut
Creates a shortcut to a folder in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_FOLDER_SHORTCUT])
Restore Previous Version
Restores a previous version of a file in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.RESTORE_PREVIOUS_VERSION])
Get Available Storage
Retrieves the amount of available storage in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_AVAILABLE_STORAGE])
New File Created
Triggers when a new file is created in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_FILE_CREATED])
File Modified
Triggers when a file is modified in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FILE_MODIFIED])
File Deleted
Triggers when a file is deleted from OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FILE_DELETED])
File Moved
Triggers when a file is moved to a different location in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FILE_MOVED])
File Renamed
Triggers when a file is renamed in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FILE_RENAMED])
Folder Created
Triggers when a new folder is created in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FOLDER_CREATED])
Folder Deleted
Triggers when a folder is deleted from OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FOLDER_DELETED])
File Shared
Triggers when a file is shared with others in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FILE_SHARED])
Storage Quota Exceeded
Triggers when the OneDrive storage quota is exceeded
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.STORAGE_QUOTA_EXCEEDED])
File Access Requested
Triggers when someone requests access to a file in OneDrive
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FILE_ACCESS_REQUESTED])