Send Message
Send a message to a specified recipient or group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_MESSAGE])
Create Group Chat
Create a new group chat with specified participants.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_GROUP_CHAT])
Send Image
Send an image to a specified recipient or group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_IMAGE])
Send File
Send a file to a specified recipient or group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_FILE])
Send Voice Message
Send a voice message to a specified recipient or group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SEND_VOICE_MESSAGE])
Set Chat Nickname
Set a nickname for a participant in a group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_CHAT_NICKNAME])
Add Member To Chat
Add a new member to an existing group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_MEMBER_TO_CHAT])
Remove Member From Chat
Remove a member from an existing group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_MEMBER_FROM_CHAT])
Change Chat Theme
Change the theme or color of a chat conversation.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANGE_CHAT_THEME])
Set Chat Emoji
Set a custom emoji for quick reactions in a chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_CHAT_EMOJI])
Mark Message As Read
Mark a specific message or all messages in a chat as read.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MARK_MESSAGE_AS_READ])
Archive Chat
Archive a chat conversation to remove it from the main chat list.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ARCHIVE_CHAT])
Unarchive Chat
Unarchive a previously archived chat conversation.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UNARCHIVE_CHAT])
Block User
Block a user to prevent them from sending messages or viewing your profile.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BLOCK_USER])
Unblock User
Unblock a previously blocked user.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UNBLOCK_USER])
New Message Received
Triggered when a new message is received in any chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_MESSAGE_RECEIVED])
Message Read
Triggered when a sent message is read by the recipient.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_READ])
Message Deleted
Triggered when a message is deleted in a chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_DELETED])
Chat Created
Triggered when a new chat (individual or group) is created.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHAT_CREATED])
Member Added To Chat
Triggered when a new member is added to a group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MEMBER_ADDED_TO_CHAT])
Member Removed From Chat
Triggered when a member is removed from a group chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MEMBER_REMOVED_FROM_CHAT])
Chat Theme Changed
Triggered when the theme or color of a chat is changed.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHAT_THEME_CHANGED])
Chat Emoji Changed
Triggered when the custom emoji for a chat is changed.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHAT_EMOJI_CHANGED])
User Blocked
Triggered when a user is blocked.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_BLOCKED])
User Unblocked
Triggered when a user is unblocked.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_UNBLOCKED])
Message Reaction Added
Triggered when a reaction is added to a message.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_REACTION_ADDED])
Message Reaction Removed
Triggered when a reaction is removed from a message.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MESSAGE_REACTION_REMOVED])
Typing Started
Triggered when a user starts typing in a chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TYPING_STARTED])
Typing Stopped
Triggered when a user stops typing in a chat.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TYPING_STOPPED])
Chat Archived
Triggered when a chat is archived.
from composio_openai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHAT_ARCHIVED])