Run Command
Execute a predefined command on the connected device.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.RUN_COMMAND])
Create New Command
Add a new command to the list of available commands.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_COMMAND])
Delete Command
Remove an existing command from the list of available commands.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_COMMAND])
Edit Command
Modify the details of an existing command.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EDIT_COMMAND])
List Commands
Retrieve a list of all available commands.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_COMMANDS])
Schedule Command
Set up a command to run at a specified time or interval.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULE_COMMAND])
Cancel Scheduled Command
Remove a previously scheduled command.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CANCEL_SCHEDULED_COMMAND])
Get Command History
Retrieve a log of previously executed commands.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_COMMAND_HISTORY])
Add Device
Connect a new device to TriggerCMD for command execution.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_DEVICE])
Remove Device
Disconnect a device from TriggerCMD.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_DEVICE])
List Devices
Get a list of all connected devices.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_DEVICES])
Create Trigger
Set up a new trigger that will execute a command when activated.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_TRIGGER])
Delete Trigger
Remove an existing trigger.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_TRIGGER])
Edit Trigger
Modify the details of an existing trigger.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EDIT_TRIGGER])
List Triggers
Retrieve a list of all configured triggers.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_TRIGGERS])
Create Voice Command
Set up a new voice-activated command.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_VOICE_COMMAND])
Delete Voice Command
Remove an existing voice-activated command.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_VOICE_COMMAND])
List Voice Commands
Get a list of all available voice-activated commands.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_VOICE_COMMANDS])
Command Executed
Triggered when a command is successfully executed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COMMAND_EXECUTED])
Command Failed
Triggered when a command execution fails.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COMMAND_FAILED])
New Device Connected
Triggered when a new device is connected to TriggerCMD.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_DEVICE_CONNECTED])
Device Disconnected
Triggered when a device is disconnected from TriggerCMD.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DEVICE_DISCONNECTED])
Scheduled Command Started
Triggered when a scheduled command begins execution.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULED_COMMAND_STARTED])
Scheduled Command Completed
Triggered when a scheduled command finishes execution.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCHEDULED_COMMAND_COMPLETED])
Trigger Activated
Triggered when a configured trigger is activated.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRIGGER_ACTIVATED])
Voice Command Recognized
Triggered when a voice command is successfully recognized.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VOICE_COMMAND_RECOGNIZED])
Command List Updated
Triggered when the list of available commands is modified.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COMMAND_LIST_UPDATED])
Trigger List Updated
Triggered when the list of configured triggers is modified.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TRIGGER_LIST_UPDATED])
Device Status Changed
Triggered when the status of a connected device changes.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DEVICE_STATUS_CHANGED])
Error Occurred
Triggered when an error occurs in the TriggerCMD system.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ERROR_OCCURRED])