Create License
Generate a new license key for a user or product
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_LICENSE])
Revoke License
Revoke an existing license key, making it invalid
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REVOKE_LICENSE])
Activate License
Activate a previously created license key
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ACTIVATE_LICENSE])
Deactivate License
Temporarily deactivate a license key without revoking it
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DEACTIVATE_LICENSE])
Check License Validity
Verify if a given license key is valid and active
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHECK_LICENSE_VALIDITY])
Renew License
Extend the expiration date of an existing license
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.RENEW_LICENSE])
Create Product
Add a new product to the licensing system
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_PRODUCT])
Update Product
Modify details of an existing product
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_PRODUCT])
Delete Product
Remove a product from the licensing system
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_PRODUCT])
Create User
Add a new user to the licensing system
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_USER])
Update User
Modify details of an existing user
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_USER])
Delete User
Remove a user from the licensing system
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_USER])
Generate Usage Report
Create a report of license usage statistics
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_USAGE_REPORT])
Create Policy
Define a new licensing policy
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_POLICY])
Update Policy
Modify an existing licensing policy
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_POLICY])
Delete Policy
Remove a licensing policy from the system
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_POLICY])
Create Entitlement
Add a new entitlement to a license or user
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_ENTITLEMENT])
Revoke Entitlement
Remove an entitlement from a license or user
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REVOKE_ENTITLEMENT])
Generate API Key
Create a new API key for integrations
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_API_KEY])
Revoke API Key
Invalidate an existing API key
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REVOKE_API_KEY])
License Created
Triggered when a new license is generated
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LICENSE_CREATED_TRIGGER])
License Revoked
Triggered when a license is revoked
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LICENSE_REVOKED_TRIGGER])
License Activated
Triggered when a license is activated
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LICENSE_ACTIVATED_TRIGGER])
License Deactivated
Triggered when a license is deactivated
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LICENSE_DEACTIVATED_TRIGGER])
License Expired
Triggered when a license expires
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LICENSE_EXPIRED_TRIGGER])
License Renewed
Triggered when a license is renewed
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LICENSE_RENEWED_TRIGGER])
Product Created
Triggered when a new product is added to the system
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PRODUCT_CREATED_TRIGGER])
User Created
Triggered when a new user is added to the system
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USER_CREATED_TRIGGER])
Policy Updated
Triggered when a licensing policy is modified
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.POLICY_UPDATED_TRIGGER])
Usage Threshold Reached
Triggered when license usage reaches a specified threshold
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USAGE_THRESHOLD_REACHED_TRIGGER])