The methods in this class are grouped under 'Actions Methods' and provide functionalities to interact with actions in the Composio platform. This includes fetching, listing, and executing actions.
Private Readonly clientExecutes a specific action in the Composio platform.
This method allows you to trigger the execution of an action by providing its name and the necessary input parameters. The request includes the connected account ID to identify the app connection to use for the action, and the input parameters required by the action. The response provides details about the execution status and the response data returned by the action.
The data for the request.
A promise that resolves to the execution status and response data.
If the request fails.
Retrieves details of a specific action in the Composio platform by providing its action name.
The response includes the action's name, display name, description, input parameters, expected response, associated app information, and enabled status.
The data for the request.
A promise that resolves to the details of the action.
If the request fails.
Retrieves a list of all actions in the Composio platform.
This method allows you to fetch a list of all the available actions. It supports pagination to handle large numbers of actions. The response includes an array of action objects, each containing information such as the action's name, display name, description, input parameters, expected response, associated app information, and enabled status.
The data for the request.
A promise that resolves to the list of all actions.
If the request fails.
The
Actionsclass provides methods to interact with the Composio platform's actions. It allows fetching details of specific actions, listing all actions, and executing actions.getmethod retrieves details of a specific action.listmethod retrieves a list of all actions.executemethod executes a specific action.Each method returns a
CancelablePromisewhich can be canceled. If canceled, the promise will reject with aCancellationobject.Type Param: Composio
The client configuration object type.