Insert Row
Insert a new row into a specified table in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_INSERT_ROW])
Update Row
Update an existing row in a specified table in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_UPDATE_ROW])
Delete Row
Delete a row from a specified table in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_DELETE_ROW])
Execute Query
Execute a custom SQL query on the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_EXECUTE_QUERY])
Create Table
Create a new table in the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_CREATE_TABLE])
Drop Table
Drop (delete) an existing table from the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_DROP_TABLE])
Backup Database
Create a backup of the entire SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_BACKUP_DATABASE])
Restore Database
Restore a SQL Server database from a backup file.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_RESTORE_DATABASE])
Create Index
Create a new index on a specified table in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_CREATE_INDEX])
Drop Index
Drop (delete) an existing index from a table in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_DROP_INDEX])
Create View
Create a new view in the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_CREATE_VIEW])
Drop View
Drop (delete) an existing view from the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_DROP_VIEW])
Create Stored Procedure
Create a new stored procedure in the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_CREATE_STORED_PROCEDURE])
Execute Stored Procedure
Execute an existing stored procedure in the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_EXECUTE_STORED_PROCEDURE])
Grant Permissions
Grant specific permissions to a user or role in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_GRANT_PERMISSIONS])
Revoke Permissions
Revoke specific permissions from a user or role in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_REVOKE_PERMISSIONS])
Create User
Create a new user in the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_CREATE_USER])
Drop User
Drop (delete) an existing user from the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_DROP_USER])
Truncate Table
Remove all rows from a specified table in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_TRUNCATE_TABLE])
Alter Table
Modify the structure of an existing table in SQL Server.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_ALTER_TABLE])
New Row Inserted
Triggered when a new row is inserted into a specified table.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_NEW_ROW_INSERTED])
Row Updated
Triggered when a row is updated in a specified table.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_ROW_UPDATED])
Row Deleted
Triggered when a row is deleted from a specified table.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_ROW_DELETED])
Table Created
Triggered when a new table is created in the database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_TABLE_CREATED])
Table Dropped
Triggered when a table is dropped from the database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_TABLE_DROPPED])
Database Backup Completed
Triggered when a database backup operation is completed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_BACKUP_COMPLETED])
Database Restored
Triggered when a database restore operation is completed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_DATABASE_RESTORED])
Query Execution Completed
Triggered when a SQL query execution is completed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_QUERY_EXECUTION_COMPLETED])
Stored Procedure Executed
Triggered when a stored procedure is executed.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_STORED_PROCEDURE_EXECUTED])
User Login
Triggered when a user logs into the SQL Server database.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SQL_SERVER_USER_LOGIN])