Create New Document
Creates a new Google Doc with specified title and content.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_NEW_DOCUMENT])
Edit Document
Modifies an existing Google Doc by adding, deleting, or updating content.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EDIT_DOCUMENT])
Share Document
Shares a Google Doc with specified users or groups, setting appropriate permissions.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SHARE_DOCUMENT])
Delete Document
Permanently removes a Google Doc from the user's Drive.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_DOCUMENT])
Rename Document
Changes the title of an existing Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.RENAME_DOCUMENT])
Create Copy
Creates a duplicate of an existing Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_COPY])
Export Document
Exports a Google Doc to a different file format (e.g., PDF, DOCX).
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXPORT_DOCUMENT])
Insert Image
Inserts an image into a specified location in a Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INSERT_IMAGE])
Apply Template
Applies a pre-defined template to a Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.APPLY_TEMPLATE])
Add Collaborator
Adds a new collaborator to a Google Doc with specified permissions.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_COLLABORATOR])
Remove Collaborator
Removes a collaborator's access to a Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_COLLABORATOR])
Create Folder
Creates a new folder in Google Drive to organize documents.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_FOLDER])
Move Document
Moves a Google Doc to a different folder within Google Drive.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MOVE_DOCUMENT])
New Document Created
Triggers when a new Google Doc is created in the user's Drive.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_DOCUMENT_CREATED])
Document Edited
Triggers when changes are made to a specified Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_EDITED])
Document Shared
Triggers when a Google Doc is shared with new users or groups.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_SHARED])
Document Renamed
Triggers when a Google Doc's title is changed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_RENAMED])
Document Moved
Triggers when a Google Doc is moved to a different folder.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_MOVED])
Document Deleted
Triggers when a Google Doc is deleted from the user's Drive.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_DELETED])
New Collaborator Added
Triggers when a new collaborator is added to a Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_COLLABORATOR_ADDED])
Collaborator Removed
Triggers when a collaborator's access to a Google Doc is revoked.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COLLABORATOR_REMOVED])
Document Exported
Triggers when a Google Doc is exported to another file format.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_EXPORTED])
Template Applied
Triggers when a template is applied to a Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TEMPLATE_APPLIED])
Image Inserted
Triggers when an image is inserted into a Google Doc.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.IMAGE_INSERTED])
Document Copied
Triggers when a copy of a Google Doc is created.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOCUMENT_COPIED])
Folder Created
Triggers when a new folder is created in Google Drive.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.FOLDER_CREATED])