@composio/core 0.1.36-next.10 → 0.1.36-next.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1260,11 +1260,11 @@ declare const MCPToolkitConfigsArraySchema: z.ZodEffects<z.ZodArray<z.ZodObject<
1260
1260
  allowedTools: string[];
1261
1261
  }[]>;
1262
1262
  declare const MCPAuthOptionsSchema: z.ZodObject<{
1263
- useComposioManagedAuth: z.ZodOptional<z.ZodBoolean>;
1263
+ isChatAuth: z.ZodOptional<z.ZodBoolean>;
1264
1264
  }, "strip", z.ZodTypeAny, {
1265
- useComposioManagedAuth?: boolean | undefined;
1265
+ isChatAuth?: boolean | undefined;
1266
1266
  }, {
1267
- useComposioManagedAuth?: boolean | undefined;
1267
+ isChatAuth?: boolean | undefined;
1268
1268
  }>;
1269
1269
  type MCPAuthOptions = z.infer<typeof MCPAuthOptionsSchema>;
1270
1270
  declare const MCPGetServerParamsSchema: z.ZodEffects<z.ZodObject<{
@@ -1288,18 +1288,18 @@ type MCPInstanceParams = {
1288
1288
  serverId: string;
1289
1289
  userIds?: string[];
1290
1290
  connectedAccountIds?: string[];
1291
- useComposioManagedAuth?: boolean;
1291
+ isChatAuth?: boolean;
1292
1292
  };
1293
1293
  declare const MCPGenerateURLParamsSchema: z.ZodObject<{
1294
1294
  userIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1295
1295
  connectedAccountIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1296
- useComposioManagedAuth: z.ZodOptional<z.ZodBoolean>;
1296
+ isChatAuth: z.ZodOptional<z.ZodBoolean>;
1297
1297
  }, "strip", z.ZodTypeAny, {
1298
- useComposioManagedAuth?: boolean | undefined;
1298
+ isChatAuth?: boolean | undefined;
1299
1299
  connectedAccountIds?: string[] | undefined;
1300
1300
  userIds?: string[] | undefined;
1301
1301
  }, {
1302
- useComposioManagedAuth?: boolean | undefined;
1302
+ isChatAuth?: boolean | undefined;
1303
1303
  connectedAccountIds?: string[] | undefined;
1304
1304
  userIds?: string[] | undefined;
1305
1305
  }>;
@@ -1688,6 +1688,29 @@ type McpServerCreateResponse<T> = (McpCreateResponse | CustomCreateResponse$1) &
1688
1688
  toolkits: string[];
1689
1689
  getServer: (params: MCPGetServerParams) => Promise<T>;
1690
1690
  };
1691
+ declare enum ConnectionStatus {
1692
+ CONNECTED = "CONNECTED",
1693
+ DISCONNECTED = "DISCONNECTED"
1694
+ }
1695
+ type McpToolkitConnectionStatus = {
1696
+ type: ConnectionStatus.CONNECTED;
1697
+ connected: true;
1698
+ toolkit: string;
1699
+ connectedAccountId: string;
1700
+ } | {
1701
+ type: ConnectionStatus.DISCONNECTED;
1702
+ connected: false;
1703
+ toolkit: string;
1704
+ };
1705
+ type McpUserConnectionStatus = {
1706
+ type: ConnectionStatus.CONNECTED;
1707
+ connected: true;
1708
+ connectedToolkits: Record<string, McpToolkitConnectionStatus>;
1709
+ } | {
1710
+ type: ConnectionStatus.DISCONNECTED;
1711
+ connected: false;
1712
+ connectedToolkits: Record<string, McpToolkitConnectionStatus>;
1713
+ };
1691
1714
  declare const CustomCreateResponseSchema: z.ZodObject<{
1692
1715
  id: z.ZodString;
1693
1716
  name: z.ZodString;
@@ -1811,21 +1834,50 @@ declare const McpRetrieveResponseSchema: z.ZodObject<{
1811
1834
  toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1812
1835
  tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1813
1836
  managedAuthViaComposio: z.ZodOptional<z.ZodBoolean>;
1837
+ authConfigIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1838
+ mcpUrl: z.ZodString;
1839
+ commands: z.ZodObject<{
1840
+ claude: z.ZodString;
1841
+ cursor: z.ZodString;
1842
+ windsurf: z.ZodString;
1843
+ }, "strip", z.ZodTypeAny, {
1844
+ claude: string;
1845
+ cursor: string;
1846
+ windsurf: string;
1847
+ }, {
1848
+ claude: string;
1849
+ cursor: string;
1850
+ windsurf: string;
1851
+ }>;
1814
1852
  }, "strip", z.ZodTypeAny, {
1815
1853
  name: string;
1854
+ mcpUrl: string;
1816
1855
  id: string;
1856
+ commands: {
1857
+ claude: string;
1858
+ cursor: string;
1859
+ windsurf: string;
1860
+ };
1817
1861
  status?: string | undefined;
1818
1862
  tools?: string[] | undefined;
1819
1863
  toolkits?: string[] | undefined;
1864
+ authConfigIds?: string[] | undefined;
1820
1865
  createdAt?: string | undefined;
1821
1866
  updatedAt?: string | undefined;
1822
1867
  managedAuthViaComposio?: boolean | undefined;
1823
1868
  }, {
1824
1869
  name: string;
1870
+ mcpUrl: string;
1825
1871
  id: string;
1872
+ commands: {
1873
+ claude: string;
1874
+ cursor: string;
1875
+ windsurf: string;
1876
+ };
1826
1877
  status?: string | undefined;
1827
1878
  tools?: string[] | undefined;
1828
1879
  toolkits?: string[] | undefined;
1880
+ authConfigIds?: string[] | undefined;
1829
1881
  createdAt?: string | undefined;
1830
1882
  updatedAt?: string | undefined;
1831
1883
  managedAuthViaComposio?: boolean | undefined;
@@ -63586,13 +63638,13 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
63586
63638
  }, "strip", z.ZodTypeAny, {
63587
63639
  toolkit?: string | undefined;
63588
63640
  limit?: number | undefined;
63589
- isComposioManaged?: boolean | undefined;
63590
63641
  cursor?: string | undefined;
63642
+ isComposioManaged?: boolean | undefined;
63591
63643
  }, {
63592
63644
  toolkit?: string | undefined;
63593
63645
  limit?: number | undefined;
63594
- isComposioManaged?: boolean | undefined;
63595
63646
  cursor?: string | undefined;
63647
+ isComposioManaged?: boolean | undefined;
63596
63648
  }>;
63597
63649
  type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
63598
63650
  declare const AuthConfigListResponseSchema: z.ZodObject<{
@@ -63881,7 +63933,7 @@ declare class Toolkits {
63881
63933
  * const connectionRequest = await composio.toolkits.authorize(userId, 'github');
63882
63934
  * ```
63883
63935
  */
63884
- authorize(userId: string, toolkitSlug: string): Promise<ConnectionRequest>;
63936
+ authorize(userId: string, toolkitSlug: string, authConfigId?: string): Promise<ConnectionRequest>;
63885
63937
  }
63886
63938
 
63887
63939
  declare const TriggerStatuses: {
@@ -64921,8 +64973,6 @@ declare class ConnectedAccounts {
64921
64973
  /**
64922
64974
  * @fileoverview MCP class for Composio SDK, used to manage MCP servers.
64923
64975
  *
64924
- * @author Apoorv Taneja <apoorv@composio.dev>
64925
- * @date 2025-06-12
64926
64976
  * @module MCP
64927
64977
  */
64928
64978
 
@@ -64933,6 +64983,7 @@ declare class ConnectedAccounts {
64933
64983
  declare class MCP<T = McpServerGetResponse> {
64934
64984
  private client;
64935
64985
  private provider?;
64986
+ private toolkits;
64936
64987
  constructor(client: ComposioClient, provider?: BaseComposioProvider<unknown, unknown, unknown>);
64937
64988
  /**
64938
64989
  * Validates toolkit configurations using Zod schema
@@ -64944,55 +64995,138 @@ declare class MCP<T = McpServerGetResponse> {
64944
64995
  private validateInputs;
64945
64996
  /**
64946
64997
  * Create a new MCP server
64947
- * @param {string} name - Unique name for the MCP server
64948
- * @param {MCPToolkitConfig[]} toolkitConfigs - Array of toolkit configurations
64949
- * @param {MCPAuthOptions} [authOptions] - Authentication configuration options
64998
+ * @param {Object} params - Parameters for creating the MCP server
64999
+ * @param {Array} params.authConfig - Array of auth configurations with id and allowed tools
65000
+ * @param {Object} params.options - Server creation options
65001
+ * @param {string} params.options.name - Unique name for the MCP server
65002
+ * @param {boolean} [params.options.isChatAuth] - Whether to use chat-based authentication
64950
65003
  * @returns {Promise<McpServerCreateResponse<T>>} Created server details with instance getter
64951
65004
  *
64952
65005
  * @example
64953
65006
  * ```typescript
64954
- * const server = await composio.mcp.create(
64955
- * "personal-mcp-server",
64956
- * [
65007
+ * const server = await composio.mcp.create("personal-mcp-server", [
64957
65008
  * {
64958
- * toolkit: "GMAIL",
64959
- * authConfigId: "ac_sdhkjfhjksdk",
64960
- * allowedTools: ["GMAIL_FETCH_EMAILS"],
64961
- * },
65009
+ * authConfigId: "ac_xyz",
65010
+ * allowedTools: ["GMAIL_FETCH_EMAILS", "SLACK_SEND_MESSAGE"]
65011
+ * }
64962
65012
  * ],
64963
- * { useComposioManagedAuth: true },
64964
- * );
65013
+ * {
65014
+ * isChatAuth: true
65015
+ * }
65016
+ * });
64965
65017
  *
64966
- * // Option 1: Use convenience method on response
65018
+ * // Use convenience method on response
64967
65019
  * const urls = await server.getServer({
64968
- * connectedAccountIds: { gmail: "account_id" }
65020
+ * userId: "user123"
64969
65021
  * });
65022
+ * ```
65023
+ */
65024
+ create(name: string, serverConfig: Array<{
65025
+ authConfigId: string;
65026
+ allowedTools: string[];
65027
+ }>, options: {
65028
+ isChatAuth?: boolean;
65029
+ }): Promise<McpServerCreateResponse<T>>;
65030
+ /**
65031
+ * Get the connection status of a user for an MCP server
64970
65032
  *
64971
- * // Option 2: Use standalone method later
64972
- * const urlsLater = await composio.mcp.getServer(server.id, {
64973
- * connectedAccountIds: { gmail: "account_id" }
64974
- * });
65033
+ * Checks whether a user has the necessary connected accounts to use all toolkits
65034
+ * configured in the specified MCP server. Returns both overall connection status
65035
+ * and individual status for each toolkit.
65036
+ *
65037
+ * @param {Object} params - Parameters for checking connection status
65038
+ * @param {string} params.id - The UUID of the MCP server to check
65039
+ * @param {string} params.userId - The ID of the user to check connection status for
65040
+ * @returns {Promise<McpUserConnectionStatus>} Complete connection status including:
65041
+ * - `type`: Overall status (CONNECTED if all toolkits are connected, DISCONNECTED otherwise)
65042
+ * - `connected`: Boolean indicating if user can use the MCP server
65043
+ * - `connectedToolkits`: Record mapping each toolkit name to its individual connection status
65044
+ *
65045
+ * @throws {ValidationError} When MCP server has no toolkits configured
65046
+ * @throws {ValidationError} When MCP server retrieval fails
65047
+ *
65048
+ * @example
65049
+ * ```typescript
65050
+ * // Check if user can access an MCP server with Gmail and Slack toolkits
65051
+ * const connectionStatus = await composio.mcp.getUserConnectionStatus('user123', 'mcp-server-uuid');
65052
+ *
65053
+ * if (connectionStatus.connected) {
65054
+ * console.log('User can access all required toolkits');
65055
+ * // connectionStatus.type === ConnectionStatus.CONNECTED
65056
+ * } else {
65057
+ * console.log('User is missing some toolkit connections');
65058
+ * // Check individual toolkit statuses
65059
+ * Object.entries(connectionStatus.connectedToolkits).forEach(([toolkit, status]) => {
65060
+ * if (!status.connected) {
65061
+ * console.log(`Missing connection for toolkit: ${toolkit}`);
65062
+ * }
65063
+ * });
65064
+ * }
65065
+ * ```
65066
+ *
65067
+ * @example
65068
+ * ```typescript
65069
+ * // Example response when user has Gmail connected but missing Slack
65070
+ * {
65071
+ * type: ConnectionStatus.DISCONNECTED,
65072
+ * connected: false,
65073
+ * connectedToolkits: {
65074
+ * GMAIL: {
65075
+ * type: ConnectionStatus.CONNECTED,
65076
+ * connected: true,
65077
+ * toolkit: 'GMAIL',
65078
+ * connectedAccountId: 'conn_gmail_123'
65079
+ * },
65080
+ * SLACK: {
65081
+ * type: ConnectionStatus.DISCONNECTED,
65082
+ * connected: false,
65083
+ * toolkit: 'SLACK'
65084
+ * }
65085
+ * }
65086
+ * }
64975
65087
  * ```
64976
65088
  */
64977
- create(name: string, toolkitConfigs: MCPToolkitConfig[], authOptions?: MCPAuthOptions): Promise<McpServerCreateResponse<T>>;
65089
+ getUserConnectionStatus(userId: string, serverId: string): Promise<McpUserConnectionStatus>;
65090
+ /**
65091
+ * Get the connection parameters for a toolkit
65092
+ * @param {string} serverId - The UUID of the MCP server
65093
+ * @param {string} toolkit - The toolkit to get connection parameters for
65094
+ * @returns {Promise<ToolkitAuthFieldsResponse>} Connection parameters for the toolkit
65095
+ */
65096
+ getConnectionParams(serverId: string, toolkit: string): Promise<ToolkitAuthFieldsResponse>;
65097
+ /**
65098
+ * Authorize a user for a toolkit
65099
+ * @param {string} serverId - The UUID of the MCP server
65100
+ * @param {string} userId - The ID of the user to authorize
65101
+ * @param {string} toolkit - The toolkit to authorize
65102
+ * @returns {Promise<ConnectionRequest>} Connection request for the toolkit
65103
+ */
65104
+ authorize(userId: string, serverId: string, toolkit: string): Promise<ConnectionRequest>;
64978
65105
  /**
64979
65106
  * Get server URLs for an existing MCP server
64980
- * @param {string} id - Server UUID
64981
- * @param {MCPGetServerParams} params - Parameters for getting server URLs
64982
- * @param {MCPAuthOptions} [authOptions] - Authentication options (optional, will use server's default if not provided)
65107
+ * @param {string} serverId - Server UUID
65108
+ * @param {string} userId - User ID to get server URLs for
65109
+ * @param {Object} [options] - Additional options for server configuration
65110
+ * @param {string[]} [options.limitTools] - Subset of tools to limit (from MCP config)
65111
+ * @param {boolean} [options.isChatAuth] - Whether to use chat-based authentication
64983
65112
  * @returns {Promise<T>} Transformed server URLs in provider-specific format
64984
65113
  *
64985
65114
  * @example
64986
65115
  * ```typescript
64987
- * // Get URLs for an existing server
64988
- * const urls = await composio.mcp.getServer("server-id", {
64989
- * connectedAccountIds: {
64990
- * gmail: "connected_account_id"
64991
- * }
65116
+ * // Get URLs for an existing server with basic user ID
65117
+ * const urls = await composio.mcp.getServer("mcp_xyz", "hey@example.com");
65118
+ *
65119
+ * // Get URLs with additional options
65120
+ * const urls = await composio.mcp.getServer("mcp_xyz", "hey@example.com", {
65121
+ * limitTools: ["GMAIL_FETCH_EMAILS", "SLACK_SEND_MESSAGE"],
65122
+ * isChatAuth: true
64992
65123
  * });
64993
65124
  * ```
64994
65125
  */
64995
- getServer(id: string, params: MCPGetServerParams, authOptions?: MCPAuthOptions): Promise<T>;
65126
+ getServer(serverId: string, userId: string, options?: {
65127
+ limitTools?: string[];
65128
+ isChatAuth?: boolean;
65129
+ }): Promise<T>;
64996
65130
  /**
64997
65131
  * List MCP server configurations with filtering options
64998
65132
  * @param {Object} options - Filtering and pagination options
@@ -65028,7 +65162,7 @@ declare class MCP<T = McpServerGetResponse> {
65028
65162
  }): Promise<McpListResponse>;
65029
65163
  /**
65030
65164
  * Get details of a specific MCP server
65031
- * @param {string} id - Server UUID
65165
+ * @param {string} serverId - Server UUID
65032
65166
  * @returns {Promise<McpRetrieveResponse>} Server details
65033
65167
  *
65034
65168
  * @example
@@ -65036,10 +65170,10 @@ declare class MCP<T = McpServerGetResponse> {
65036
65170
  * const serverDetails = await composio.mcp.get('server-uuid');
65037
65171
  * ```
65038
65172
  */
65039
- get(id: string): Promise<McpRetrieveResponse>;
65173
+ get(serverId: string): Promise<McpRetrieveResponse>;
65040
65174
  /**
65041
65175
  * Delete an MCP server
65042
- * @param {string} id - Server UUID
65176
+ * @param {string} serverId - Server UUID
65043
65177
  * @returns {Promise<McpDeleteResponse>} Deletion response
65044
65178
  *
65045
65179
  * @example
@@ -65047,7 +65181,7 @@ declare class MCP<T = McpServerGetResponse> {
65047
65181
  * const result = await composio.mcp.delete('server-uuid');
65048
65182
  * ```
65049
65183
  */
65050
- delete(id: string): Promise<McpDeleteResponse>;
65184
+ delete(serverId: string): Promise<McpDeleteResponse>;
65051
65185
  /**
65052
65186
  * Update an MCP server configuration
65053
65187
  * @param {string} id - Server UUID
@@ -65069,28 +65203,28 @@ declare class MCP<T = McpServerGetResponse> {
65069
65203
  * },
65070
65204
  * ],
65071
65205
  * {
65072
- * useComposioManagedAuth: true,
65206
+ * isChatAuth: true,
65073
65207
  * }
65074
65208
  * );
65075
65209
  * ```
65076
65210
  */
65077
- update(id: string, name: string, toolkitConfigs: MCPToolkitConfig[], authOptions?: MCPAuthOptions): Promise<McpUpdateResponse>;
65211
+ update(serverId: string, name: string, toolkitConfigs: MCPToolkitConfig[], authOptions?: MCPAuthOptions): Promise<McpUpdateResponse>;
65078
65212
  /**
65079
65213
  * Generate URL for an MCP server
65214
+ * @param {string} serverId - Server UUID
65080
65215
  * @param {GenerateURLParams} params - Parameters for URL generation
65081
65216
  * @returns {Promise<GenerateURLResponse>} Generated URL response
65082
65217
  *
65083
65218
  * @example
65084
65219
  * ```typescript
65085
- * const urlResponse = await composio.mcp.generateUrl({
65220
+ * const urlResponse = await composio.mcp.generateUrl('server-uuid', {
65086
65221
  * userIds: ['user123'],
65087
65222
  * connectedAccountIds: ['account456'],
65088
- * mcpServerId: 'server-uuid',
65089
- * composioManagedAuth: true
65223
+ * isChatAuth: true
65090
65224
  * });
65091
65225
  * ```
65092
65226
  */
65093
- generateUrl(params: GenerateURLParams): Promise<GenerateURLResponse>;
65227
+ generateUrl(serverId: string, params: GenerateURLParams): Promise<GenerateURLResponse>;
65094
65228
  /**
65095
65229
  * Transform MCP URL response into the appropriate format.
65096
65230
  * If the provider has a custom transform method, use it.
@@ -65102,6 +65236,19 @@ declare class MCP<T = McpServerGetResponse> {
65102
65236
  * @returns Transformed response in appropriate format
65103
65237
  */
65104
65238
  private wrapMcpServerResponse;
65239
+ /**
65240
+ * Get details of a specific MCP server by name
65241
+ * @param {string} name - Server name
65242
+ * @returns {Promise<McpRetrieveResponse>} Server details
65243
+ * @throws {ValidationError} If no server found with the given name
65244
+ * @throws {ValidationError} If multiple servers found with the same name
65245
+ *
65246
+ * @example
65247
+ * ```typescript
65248
+ * const serverDetails = await composio.mcp.getByName('my-gmail-server');
65249
+ * ```
65250
+ */
65251
+ getByName(serverName: string): Promise<McpRetrieveResponse>;
65105
65252
  }
65106
65253
 
65107
65254
  /**
@@ -66079,4 +66226,4 @@ declare class ComposioNoAPIKeyError extends ComposioError {
66079
66226
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
66080
66227
  }
66081
66228
 
66082
- export { type AgenticToolOptions, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, type AuthConfigType, AuthConfigTypes, type AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, type AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, type BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, type ComposioErrorOptions, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioLinkConnectionDataSchema, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, type ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, type ConnectedAccountListParams, ConnectedAccountListParamsSchema, type ConnectedAccountListResponse, type ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, type ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, type ConnectedAccountStatus, type ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, type ConnectionData, ConnectionDataSchema, type ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, type ConnectionRequestState, ConnectionRequestTimeoutError, type ConnectionStatusEnum, ConnectionStatuses, type CreateAuthConfigParams, CreateAuthConfigParamsSchema, type CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, type CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, type CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, type CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomCreateResponse, CustomCreateResponseSchema, type CustomCreateResponseValidated, type CustomToolInputParameter, type CustomToolOptions, type CustomToolRegistry, type CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, type ErrorHandleOptions, type ExecuteMetadata, type ExecuteToolFn, type ExecuteToolFnOptions, type ExecuteToolModifiers, type FileDownloadData, type FileUploadData, type GenerateURLParams, GenerateURLParamsSchema, type GenerateURLResponse, GenerateURLResponseSchema, type GenerateURLResponseValidated, type GlobalExecuteToolFn, type IncomingTriggerPayload, IncomingTriggerPayloadSchema, type InputParamsSchema, type JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, type MCPAuthOptions, MCPAuthOptionsSchema, type MCPCreateMethodResponse, type MCPGenerateURLParams, MCPGenerateURLParamsSchema, type MCPGetServerParams, MCPGetServerParamsSchema, type MCPInstanceParams, type MCPMultiAppServer, MCPMultiAppServerSchema, type MCPServer, type MCPServerCreateResponse, MCPServerCreateResponseSchema, type MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, type MCPServerUpdateParams, MCPServerUpdateParamsSchema, type MCPSingleAppServer, MCPSingleAppServerSchema, type MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, type McpDeleteResponse, McpDeleteResponseSchema, type McpListResponse, McpListResponseSchema, type McpRetrieveResponse, McpRetrieveResponseSchema, type McpServerCreateResponse, type McpServerGetResponse, type McpServerUrlInfo, type McpUpdateResponse, McpUpdateResponseSchema, type McpUrlResponse, type McpUrlResponseCamelCase, type Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, type Oauth1ConnectionData, Oauth1ConnectionDataSchema, type Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, type Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, type Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, type Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, type Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, type Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, type Oauth2ConnectionData, Oauth2ConnectionDataSchema, type Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, type Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, type Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, type Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, type Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, type Provider, type ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, type Tool, ToolErrorCodes, type ToolExecuteParams, ToolExecuteParamsSchema, type ToolExecuteResponse, ToolExecuteResponseSchema, type ToolKitItem, ToolKitItemSchema, type ToolKitListResponse, ToolKitListResponseSchema, type ToolKitMeta, ToolKitMetaSchema, type ToolList, type ToolListParams, ToolListParamsSchema, type ToolListResponse, ToolListResponseSchema, type ToolOptions, type ToolProxyParams, ToolProxyParamsSchema, ToolSchema, type Toolkit, type ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, type ToolkitAuthField, ToolkitAuthFieldSchema, type ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, type ToolkitCategory, ToolkitCategorySchema, ToolkitErrorCodes, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, type TriggerInstanceListActiveResponse, type TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, type TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, type TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, type TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, type TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, type TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, type TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, type TriggerSubscribeParams, type TriggerType, TriggerTypeSchema, type TriggersTypeListParams, TriggersTypeListParamsSchema, type TriggersTypeListResponse, TriggersTypeListResponseSchema, type TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, type afterExecuteModifier, type beforeExecuteModifier, constants, createConnectionRequest, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };
66229
+ export { type AgenticToolOptions, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, type AuthConfigType, AuthConfigTypes, type AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, type AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, type BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, type ComposioErrorOptions, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioLinkConnectionDataSchema, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, type ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, type ConnectedAccountListParams, ConnectedAccountListParamsSchema, type ConnectedAccountListResponse, type ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, type ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, type ConnectedAccountStatus, type ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, type ConnectionData, ConnectionDataSchema, type ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, type ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, type ConnectionStatusEnum, ConnectionStatuses, type CreateAuthConfigParams, CreateAuthConfigParamsSchema, type CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, type CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, type CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, type CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomCreateResponse, CustomCreateResponseSchema, type CustomCreateResponseValidated, type CustomToolInputParameter, type CustomToolOptions, type CustomToolRegistry, type CustomToolRegistryItem, DefaultCreateConnectedAccountParamsSchema, type ErrorHandleOptions, type ExecuteMetadata, type ExecuteToolFn, type ExecuteToolFnOptions, type ExecuteToolModifiers, type FileDownloadData, type FileUploadData, type GenerateURLParams, GenerateURLParamsSchema, type GenerateURLResponse, GenerateURLResponseSchema, type GenerateURLResponseValidated, type GlobalExecuteToolFn, type IncomingTriggerPayload, IncomingTriggerPayloadSchema, type InputParamsSchema, type JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, type MCPAuthOptions, MCPAuthOptionsSchema, type MCPCreateMethodResponse, type MCPGenerateURLParams, MCPGenerateURLParamsSchema, type MCPGetServerParams, MCPGetServerParamsSchema, type MCPInstanceParams, type MCPMultiAppServer, MCPMultiAppServerSchema, type MCPServer, type MCPServerCreateResponse, MCPServerCreateResponseSchema, type MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, type MCPServerUpdateParams, MCPServerUpdateParamsSchema, type MCPSingleAppServer, MCPSingleAppServerSchema, type MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, type McpDeleteResponse, McpDeleteResponseSchema, type McpListResponse, McpListResponseSchema, type McpRetrieveResponse, McpRetrieveResponseSchema, type McpServerCreateResponse, type McpServerGetResponse, type McpServerUrlInfo, type McpToolkitConnectionStatus, type McpUpdateResponse, McpUpdateResponseSchema, type McpUrlResponse, type McpUrlResponseCamelCase, type McpUserConnectionStatus, type Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, type Oauth1ConnectionData, Oauth1ConnectionDataSchema, type Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, type Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, type Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, type Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, type Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, type Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, type Oauth2ConnectionData, Oauth2ConnectionDataSchema, type Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, type Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, type Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, type Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, type Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, type Provider, type ProviderOptions, RedirectableAuthSchemeSchema, SDKErrorCodes, type Tool, ToolErrorCodes, type ToolExecuteParams, ToolExecuteParamsSchema, type ToolExecuteResponse, ToolExecuteResponseSchema, type ToolKitItem, ToolKitItemSchema, type ToolKitListResponse, ToolKitListResponseSchema, type ToolKitMeta, ToolKitMetaSchema, type ToolList, type ToolListParams, ToolListParamsSchema, type ToolListResponse, ToolListResponseSchema, type ToolOptions, type ToolProxyParams, ToolProxyParamsSchema, ToolSchema, type Toolkit, type ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, type ToolkitAuthField, ToolkitAuthFieldSchema, type ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, type ToolkitCategory, ToolkitCategorySchema, ToolkitErrorCodes, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, type TriggerInstanceListActiveResponse, type TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, type TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, type TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, type TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, type TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, type TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, type TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, type TriggerSubscribeParams, type TriggerType, TriggerTypeSchema, type TriggersTypeListParams, TriggersTypeListParamsSchema, type TriggersTypeListResponse, TriggersTypeListResponseSchema, type TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, type afterExecuteModifier, type beforeExecuteModifier, constants, createConnectionRequest, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };