@composio/core 0.1.51 → 0.1.52

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.ts CHANGED
@@ -120,7 +120,7 @@ declare const ToolSchema: z.ZodObject<{
120
120
  required?: string[] | undefined;
121
121
  additionalProperties?: boolean | undefined;
122
122
  }>>;
123
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
123
+ tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
124
124
  toolkit: z.ZodOptional<z.ZodObject<{
125
125
  slug: z.ZodString;
126
126
  name: z.ZodString;
@@ -135,11 +135,11 @@ declare const ToolSchema: z.ZodObject<{
135
135
  logo?: string | undefined;
136
136
  }>>;
137
137
  version: z.ZodOptional<z.ZodString>;
138
+ availableVersions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
138
139
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
139
140
  }, "strip", z.ZodTypeAny, {
140
141
  name: string;
141
142
  slug: string;
142
- tags: string[];
143
143
  toolkit?: {
144
144
  name: string;
145
145
  slug: string;
@@ -176,6 +176,8 @@ declare const ToolSchema: z.ZodObject<{
176
176
  required?: string[] | undefined;
177
177
  additionalProperties?: boolean | undefined;
178
178
  } | undefined;
179
+ tags?: string[] | undefined;
180
+ availableVersions?: string[] | undefined;
179
181
  }, {
180
182
  name: string;
181
183
  slug: string;
@@ -216,6 +218,7 @@ declare const ToolSchema: z.ZodObject<{
216
218
  additionalProperties?: boolean | undefined;
217
219
  } | undefined;
218
220
  tags?: string[] | undefined;
221
+ availableVersions?: string[] | undefined;
219
222
  }>;
220
223
  type Tool = z.infer<typeof ToolSchema>;
221
224
  /**
@@ -306,7 +309,7 @@ declare const ToolListResponseSchema: z.ZodObject<{
306
309
  required?: string[] | undefined;
307
310
  additionalProperties?: boolean | undefined;
308
311
  }>>;
309
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
312
+ tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
310
313
  toolkit: z.ZodOptional<z.ZodObject<{
311
314
  slug: z.ZodString;
312
315
  name: z.ZodString;
@@ -321,11 +324,11 @@ declare const ToolListResponseSchema: z.ZodObject<{
321
324
  logo?: string | undefined;
322
325
  }>>;
323
326
  version: z.ZodOptional<z.ZodString>;
327
+ availableVersions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
324
328
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
325
329
  }, "strip", z.ZodTypeAny, {
326
330
  name: string;
327
331
  slug: string;
328
- tags: string[];
329
332
  toolkit?: {
330
333
  name: string;
331
334
  slug: string;
@@ -362,6 +365,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
362
365
  required?: string[] | undefined;
363
366
  additionalProperties?: boolean | undefined;
364
367
  } | undefined;
368
+ tags?: string[] | undefined;
369
+ availableVersions?: string[] | undefined;
365
370
  }, {
366
371
  name: string;
367
372
  slug: string;
@@ -402,6 +407,7 @@ declare const ToolListResponseSchema: z.ZodObject<{
402
407
  additionalProperties?: boolean | undefined;
403
408
  } | undefined;
404
409
  tags?: string[] | undefined;
410
+ availableVersions?: string[] | undefined;
405
411
  }>, "many">;
406
412
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
407
413
  totalPages: z.ZodNumber;
@@ -409,7 +415,6 @@ declare const ToolListResponseSchema: z.ZodObject<{
409
415
  items: {
410
416
  name: string;
411
417
  slug: string;
412
- tags: string[];
413
418
  toolkit?: {
414
419
  name: string;
415
420
  slug: string;
@@ -446,6 +451,8 @@ declare const ToolListResponseSchema: z.ZodObject<{
446
451
  required?: string[] | undefined;
447
452
  additionalProperties?: boolean | undefined;
448
453
  } | undefined;
454
+ tags?: string[] | undefined;
455
+ availableVersions?: string[] | undefined;
449
456
  }[];
450
457
  totalPages: number;
451
458
  nextCursor?: string | null | undefined;
@@ -490,6 +497,7 @@ declare const ToolListResponseSchema: z.ZodObject<{
490
497
  additionalProperties?: boolean | undefined;
491
498
  } | undefined;
492
499
  tags?: string[] | undefined;
500
+ availableVersions?: string[] | undefined;
493
501
  }[];
494
502
  totalPages: number;
495
503
  nextCursor?: string | null | undefined;
@@ -499,6 +507,30 @@ type ToolListResponse = z.infer<typeof ToolListResponseSchema>;
499
507
  * Plain SDK level Tool List
500
508
  */
501
509
  type ToolList = Array<Tool>;
510
+ /**
511
+ * latest toolkit version param
512
+ */
513
+ type ToolkitLatestVersion = 'latest';
514
+ /**
515
+ * Versioning a tool based on it's toolkit version, either 'latest' or actual tool version as string '20250902_00'
516
+ * @example
517
+ * 'latest'
518
+ * '20250902_00'
519
+ */
520
+ type ToolkitVersion = ToolkitLatestVersion | string;
521
+ /**
522
+ * Versioning multiple toolkits
523
+ * @example
524
+ * { 'github': 'latest', 'slack': '20250902_00' }
525
+ */
526
+ type ToolkitVersions = Record<string, ToolkitVersion>;
527
+ /**
528
+ * Versioning a toolkit based on it's tool versions, either 'latest' or actual tool version as string '20250902_00'
529
+ * @example
530
+ * 'latest'
531
+ * { 'github': 'latest', 'slack': '20250902_00' }
532
+ */
533
+ type ToolkitVersionParam = ToolkitLatestVersion | ToolkitVersions | undefined;
502
534
  declare const ToolListParamsSchema: z.ZodObject<{
503
535
  tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
504
536
  toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -554,11 +586,11 @@ type TagsOnlyParams = {
554
586
  search?: never;
555
587
  } & Pick<BaseParams, 'limit'>;
556
588
  type SearchOnlyParams = {
589
+ search: string;
557
590
  tools?: never;
558
591
  toolkits?: never;
559
592
  scopes?: never;
560
593
  limit?: never;
561
- search: string;
562
594
  tags?: never;
563
595
  };
564
596
  type AuthConfigIdsOnlyParams = {
@@ -1849,7 +1881,7 @@ declare const ToolExecuteParamsSchema: z.ZodObject<{
1849
1881
  }>]>>;
1850
1882
  arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1851
1883
  userId: z.ZodOptional<z.ZodString>;
1852
- version: z.ZodOptional<z.ZodString>;
1884
+ version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodString]>>;
1853
1885
  text: z.ZodOptional<z.ZodString>;
1854
1886
  }, "strip", z.ZodTypeAny, {
1855
1887
  version?: string | undefined;
@@ -4132,6 +4164,9 @@ declare const ToolProxyParamsSchema: z.ZodObject<{
4132
4164
  } | undefined;
4133
4165
  }>;
4134
4166
  type ToolProxyParams = z.infer<typeof ToolProxyParamsSchema>;
4167
+ type SchemaModifierOptions = {
4168
+ modifySchema: TransformToolSchemaModifier;
4169
+ };
4135
4170
 
4136
4171
  /**
4137
4172
  * Modifier for altering the tool execute parameters before execution.
@@ -16860,9 +16895,8 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
16860
16895
  private readonly customTools;
16861
16896
  private provider;
16862
16897
  private autoUploadDownloadFiles;
16863
- constructor(client: ComposioClient, provider: TProvider, options?: {
16864
- autoUploadDownloadFiles: boolean;
16865
- });
16898
+ private toolkitVersions;
16899
+ constructor(client: ComposioClient, provider: TProvider, config?: ComposioConfig<TProvider>);
16866
16900
  /**
16867
16901
  * Transforms tool data from snake_case API format to camelCase for internal SDK use.
16868
16902
  *
@@ -16887,13 +16921,6 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
16887
16921
  * @private
16888
16922
  */
16889
16923
  private transformToolExecuteResponse;
16890
- /**
16891
- * Check if the connected account exists for the given tools.
16892
- * @param {string} userId - The user id.
16893
- * @param {ToolList} tools - The tools to check.
16894
- * @returns {Promise<boolean>} True if the connected account exists for the given tools, false otherwise.
16895
- */
16896
- private checkIfConnectedAccountExistsForTools;
16897
16924
  /**
16898
16925
  * Get the connected account id for a given tool
16899
16926
  * @param {string} userId - The user id
@@ -16930,44 +16957,110 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
16930
16957
  *
16931
16958
  * This method fetches tools from the Composio API in raw format and combines them with
16932
16959
  * any registered custom tools. The response can be filtered and modified as needed.
16960
+ * It provides access to the underlying tool data without provider-specific wrapping.
16933
16961
  *
16934
- * @param {ToolListParams} [query={}] - Optional query parameters to filter the tools
16935
- * @param {TransformToolSchemaModifier} [modifier] - Optional function to transform tool schemas
16962
+ * @param {ToolListParams} query - Query parameters to filter the tools (required)
16963
+ * @param {GetRawComposioToolsOptions} [options] - Optional configuration for tool retrieval
16964
+ * @param {TransformToolSchemaModifier} [options.modifySchema] - Function to transform tool schemas
16936
16965
  * @returns {Promise<ToolList>} List of tools matching the query criteria
16937
16966
  *
16938
16967
  * @example
16939
16968
  * ```typescript
16940
- * // Get all tools
16941
- * const tools = await composio.tools.getRawComposioTools();
16969
+ * // Get tools from specific toolkits
16970
+ * const githubTools = await composio.tools.getRawComposioTools({
16971
+ * toolkits: ['github'],
16972
+ * limit: 10
16973
+ * });
16974
+ *
16975
+ * // Get specific tools by slug
16976
+ * const specificTools = await composio.tools.getRawComposioTools({
16977
+ * tools: ['GITHUB_GET_REPOS', 'HACKERNEWS_GET_USER']
16978
+ * });
16942
16979
  *
16943
- * // Get tools with filters
16980
+ * // Get tools from specific toolkits
16944
16981
  * const githubTools = await composio.tools.getRawComposioTools({
16945
16982
  * toolkits: ['github'],
16946
16983
  * limit: 10
16947
16984
  * });
16948
16985
  *
16949
16986
  * // Get tools with schema transformation
16950
- * const tools = await composio.tools.getRawComposioTools({},
16951
- * (toolSlug, toolkitSlug, tool) => {
16987
+ * const customizedTools = await composio.tools.getRawComposioTools({
16988
+ * toolkits: ['github'],
16989
+ * limit: 5
16990
+ * }, {
16991
+ * modifySchema: ({ toolSlug, toolkitSlug, schema }) => {
16952
16992
  * // Add custom properties to tool schema
16953
- * return {...tool, customProperty: 'value'};
16993
+ * return {
16994
+ * ...schema,
16995
+ * customProperty: `Modified ${toolSlug} from ${toolkitSlug}`,
16996
+ * tags: [...(schema.tags || []), 'customized']
16997
+ * };
16954
16998
  * }
16955
- * );
16999
+ * });
17000
+ *
17001
+ * // Search for tools
17002
+ * const searchResults = await composio.tools.getRawComposioTools({
17003
+ * search: 'user management'
17004
+ * });
17005
+ *
17006
+ * // Get tools by authentication config
17007
+ * const authSpecificTools = await composio.tools.getRawComposioTools({
17008
+ * authConfigIds: ['auth_config_123']
17009
+ * });
16956
17010
  * ```
16957
17011
  */
16958
- getRawComposioTools(query: ToolListParams, modifier?: TransformToolSchemaModifier): Promise<ToolList>;
17012
+ getRawComposioTools(query: ToolListParams, options?: SchemaModifierOptions): Promise<ToolList>;
16959
17013
  /**
16960
- * Retrieves a tool by its Slug.
16961
- * This method is used to get the raw tools from the composio API.
16962
- * @param slug The ID of the tool to be retrieved
16963
- * @returns {Promise<Tool>} The tool
17014
+ * Retrieves a specific tool by its slug from the Composio API.
17015
+ *
17016
+ * This method fetches a single tool in raw format without provider-specific wrapping,
17017
+ * providing direct access to the tool's schema and metadata. Tool versions are controlled
17018
+ * at the Composio SDK initialization level through the `toolkitVersions` configuration.
17019
+ *
17020
+ * @param {string} slug - The unique identifier of the tool (e.g., 'GITHUB_GET_REPOS')
17021
+ * @param {GetRawComposioToolBySlugOptions} [options] - Optional configuration for tool retrieval
17022
+ * @param {TransformToolSchemaModifier} [options.modifySchema] - Function to transform the tool schema
17023
+ * @returns {Promise<Tool>} The requested tool with its complete schema and metadata
16964
17024
  *
16965
17025
  * @example
16966
- * ```ts
16967
- * const tool = await composio.tools.getRawComposioToolBySlug('github');
17026
+ * ```typescript
17027
+ * // Get a tool by slug
17028
+ * const tool = await composio.tools.getRawComposioToolBySlug('GITHUB_GET_REPOS');
17029
+ * console.log(tool.name, tool.description);
17030
+ *
17031
+ * // Get a tool with schema transformation
17032
+ * const customizedTool = await composio.tools.getRawComposioToolBySlug(
17033
+ * 'SLACK_SEND_MESSAGE',
17034
+ * {
17035
+ * modifySchema: ({ toolSlug, toolkitSlug, schema }) => {
17036
+ * return {
17037
+ * ...schema,
17038
+ * description: `Enhanced ${schema.description} with custom modifications`,
17039
+ * customMetadata: {
17040
+ * lastModified: new Date().toISOString(),
17041
+ * toolkit: toolkitSlug
17042
+ * }
17043
+ * };
17044
+ * }
17045
+ * }
17046
+ * );
17047
+ *
17048
+ * // Get a custom tool (will check custom tools first)
17049
+ * const customTool = await composio.tools.getRawComposioToolBySlug('MY_CUSTOM_TOOL');
17050
+ *
17051
+ * // Access tool properties
17052
+ * const githubTool = await composio.tools.getRawComposioToolBySlug('GITHUB_CREATE_ISSUE');
17053
+ * console.log({
17054
+ * slug: githubTool.slug,
17055
+ * name: githubTool.name,
17056
+ * toolkit: githubTool.toolkit?.name,
17057
+ * version: githubTool.version,
17058
+ * availableVersions: githubTool.availableVersions,
17059
+ * inputParameters: githubTool.inputParameters
17060
+ * });
16968
17061
  * ```
16969
17062
  */
16970
- getRawComposioToolBySlug(slug: string, modifier?: TransformToolSchemaModifier): Promise<Tool>;
17063
+ getRawComposioToolBySlug(slug: string, options?: SchemaModifierOptions): Promise<Tool>;
16971
17064
  /**
16972
17065
  * Get a list of tools from Composio based on filters.
16973
17066
  * This method fetches the tools from the Composio API and wraps them using the provider.
@@ -65902,6 +65995,15 @@ type ComposioConfig<TProvider extends BaseComposioProvider<unknown, unknown, unk
65902
65995
  * @default false
65903
65996
  */
65904
65997
  disableVersionCheck?: boolean;
65998
+ /**
65999
+ * The versions of the toolkits to fetch.
66000
+ * Defaults to latest is nothing is provided.
66001
+ * Alternatively you can specify individual toolkit versions in the env `COMPOSIO_TOOLKIT_VERSION_GITHUB=20250902_00`
66002
+ * @example
66003
+ * { 'github': 'latest', 'slack': '20250902_00' }
66004
+ * 'latest'
66005
+ */
66006
+ toolkitVersions?: ToolkitVersionParam;
65905
66007
  };
65906
66008
  /**
65907
66009
  * Extract the MCP response type from a provider
@@ -65969,6 +66071,11 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
65969
66071
  * @returns {ComposioClient} The Composio API client.
65970
66072
  */
65971
66073
  getClient(): ComposioClient;
66074
+ /**
66075
+ * Get the configuration SDK is initialized with
66076
+ * @returns {ComposioConfig<TProvider>} The configuration SDK is initialized with
66077
+ */
66078
+ getConfig(): ComposioConfig<TProvider>;
65972
66079
  /**
65973
66080
  * Creates a new instance of the Composio SDK with custom request options while preserving the existing configuration.
65974
66081
  * This method is particularly useful when you need to:
@@ -66460,4 +66567,4 @@ declare class ComposioNoAPIKeyError extends ComposioError {
66460
66567
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
66461
66568
  }
66462
66569
 
66463
- export { type AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, 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, ComposioFailedToCreateConnectedAccountLink, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, 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 CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, type CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, type CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, type CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, type CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomConnectionData, CustomConnectionDataSchema, type CustomCreateResponse, CustomCreateResponseSchema, type CustomCreateResponseValidated, type CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, type CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, 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 TriggerEvent, type TriggerEventData, 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 };
66570
+ export { type AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, type AuthConfigListParams, AuthConfigListParamsSchema, type AuthConfigListResponse, AuthConfigListResponseSchema, type AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, 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, ComposioFailedToCreateConnectedAccountLink, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, 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 CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, type CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, type CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, type CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, type CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, type CustomAuthParams, CustomAuthParamsSchema, type CustomConnectionData, CustomConnectionDataSchema, type CustomCreateResponse, CustomCreateResponseSchema, type CustomCreateResponseValidated, type CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, type CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, 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 SchemaModifierOptions, 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 ToolkitLatestVersion, type ToolkitListParams, type ToolkitMangedByEnum, ToolkitMangedByEnumSchema, type ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, type ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, type ToolkitSortByEnum, ToolkitSortByEnumSchema, type ToolkitVersion, type ToolkitVersionParam, type ToolkitVersions, ToolkitsListParamsSchema, type TransformToolSchemaModifier, type TriggerData, type TriggerEvent, type TriggerEventData, 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 };