@composio/core 0.8.0 → 0.9.0

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.
Files changed (355) hide show
  1. package/dist/{CustomTool-DCrZcOUW.d.cts → CustomTool-87USJ2u0.d.cts} +1 -1
  2. package/dist/{CustomTool-DJVmDusu.d.mts → CustomTool-BNxqr6BI.d.mts} +1 -1
  3. package/dist/{CustomTool-CVwF_isu.mjs → CustomTool-DOE7hgw6.mjs} +232 -27
  4. package/dist/{CustomTool-DnCSEC6t.cjs → CustomTool-Dj4fNvsu.cjs} +279 -26
  5. package/dist/{composio-DH5gDW5F.d.mts → composio-BJW2NaoA.d.mts} +110 -79
  6. package/dist/{composio-Dzaqn_PS.d.cts → composio-DTntXzL-.d.cts} +110 -79
  7. package/dist/{customTool.types-Xk-tbwbc.d.mts → customTool.types-B3HG185y.d.mts} +401 -32
  8. package/dist/{customTool.types-BqC41wRt.d.cts → customTool.types-Bd8ylotX.d.cts} +401 -32
  9. package/dist/experimental/index.cjs +1 -1
  10. package/dist/experimental/index.d.cts +2 -2
  11. package/dist/experimental/index.d.mts +3 -3
  12. package/dist/experimental/index.mjs +1 -1
  13. package/dist/index.cjs +574 -85
  14. package/dist/index.d.cts +84 -8
  15. package/dist/index.d.mts +84 -8
  16. package/dist/index.mjs +570 -88
  17. package/dist/{tool.types-Cb-o48UU.d.mts → tool.types-CB_4JKhV.d.mts} +601 -38
  18. package/dist/{tool.types-B4k2Bnxc.d.cts → tool.types-CwbAy9l_.d.cts} +601 -38
  19. package/dist/{types-BR-1DJRJ.d.mts → types-BClz5lKM.d.mts} +2 -2
  20. package/dist/{types-gjJ_hDol.d.cts → types-jsOgjrWN.d.cts} +2 -2
  21. package/dist/utils/config-defaults/ConfigDefaults.node.d.cts +2 -2
  22. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +4 -4
  23. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.cts +2 -2
  24. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +4 -4
  25. package/dist/utils/modifiers/FileToolModifier.node.d.cts +1 -1
  26. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  27. package/dist/utils/modifiers/FileToolModifier.workerd.d.cts +1 -1
  28. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  29. package/package.json +2 -2
  30. package/generated/ably.ts +0 -20
  31. package/generated/accelo.ts +0 -8
  32. package/generated/acculynx.ts +0 -17
  33. package/generated/active_campaign.ts +0 -30
  34. package/generated/adobe.ts +0 -8
  35. package/generated/adyntel.ts +0 -12
  36. package/generated/aero_workflow.ts +0 -8
  37. package/generated/affinity.ts +0 -29
  38. package/generated/agencyzoom.ts +0 -108
  39. package/generated/ahrefs.ts +0 -49
  40. package/generated/airtable.ts +0 -26
  41. package/generated/alchemy.ts +0 -16
  42. package/generated/algolia.ts +0 -39
  43. package/generated/altoviz.ts +0 -18
  44. package/generated/amazon.ts +0 -8
  45. package/generated/amcards.ts +0 -11
  46. package/generated/amplitude.ts +0 -25
  47. package/generated/anthropic_administrator.ts +0 -13
  48. package/generated/apaleo.ts +0 -38
  49. package/generated/apollo.ts +0 -40
  50. package/generated/appdrag.ts +0 -8
  51. package/generated/appsflyer.ts +0 -8
  52. package/generated/asana.ts +0 -95
  53. package/generated/ashby.ts +0 -8
  54. package/generated/atlassian.ts +0 -8
  55. package/generated/attio.ts +0 -20
  56. package/generated/auth0.ts +0 -8
  57. package/generated/axonaut.ts +0 -8
  58. package/generated/bamboohr.ts +0 -168
  59. package/generated/bannerbear.ts +0 -17
  60. package/generated/baserow.ts +0 -11
  61. package/generated/battlenet.ts +0 -8
  62. package/generated/beeminder.ts +0 -14
  63. package/generated/bigmailer.ts +0 -12
  64. package/generated/bigml.ts +0 -15
  65. package/generated/bill.ts +0 -218
  66. package/generated/bitbucket.ts +0 -25
  67. package/generated/bitwarden.ts +0 -8
  68. package/generated/blackbaud.ts +0 -8
  69. package/generated/blackboard.ts +0 -323
  70. package/generated/boldsign.ts +0 -8
  71. package/generated/bolna.ts +0 -24
  72. package/generated/borneo.ts +0 -162
  73. package/generated/botbaba.ts +0 -8
  74. package/generated/box.ts +0 -282
  75. package/generated/braintree.ts +0 -8
  76. package/generated/brandfetch.ts +0 -15
  77. package/generated/breezy_hr.ts +0 -8
  78. package/generated/brevo.ts +0 -28
  79. package/generated/brex.ts +0 -8
  80. package/generated/brex_staging.ts +0 -8
  81. package/generated/brightpearl.ts +0 -8
  82. package/generated/brilliant_directories.ts +0 -15
  83. package/generated/browseai.ts +0 -18
  84. package/generated/browserbase_tool.ts +0 -10
  85. package/generated/browserhub.ts +0 -8
  86. package/generated/browserless.ts +0 -16
  87. package/generated/bubble.ts +0 -8
  88. package/generated/bugbug.ts +0 -13
  89. package/generated/builtwith.ts +0 -21
  90. package/generated/cal.ts +0 -150
  91. package/generated/calendly.ts +0 -51
  92. package/generated/canva.ts +0 -41
  93. package/generated/canvas.ts +0 -100
  94. package/generated/chatwork.ts +0 -17
  95. package/generated/chmeetings.ts +0 -8
  96. package/generated/clickup.ts +0 -153
  97. package/generated/clockify.ts +0 -23
  98. package/generated/close.ts +0 -15
  99. package/generated/cloudflare.ts +0 -10
  100. package/generated/coda.ts +0 -115
  101. package/generated/codeinterpreter.ts +0 -14
  102. package/generated/coinbase.ts +0 -15
  103. package/generated/coinmarketcal.ts +0 -8
  104. package/generated/composio.ts +0 -34
  105. package/generated/composio_search.ts +0 -22
  106. package/generated/confluence.ts +0 -199
  107. package/generated/contentful.ts +0 -12
  108. package/generated/crustdata.ts +0 -23
  109. package/generated/customer_io.ts +0 -8
  110. package/generated/cutt_ly.ts +0 -10
  111. package/generated/d2lbrightspace.ts +0 -54
  112. package/generated/dailybot.ts +0 -15
  113. package/generated/datadog.ts +0 -47
  114. package/generated/datagma.ts +0 -8
  115. package/generated/datarobot.ts +0 -8
  116. package/generated/deel.ts +0 -8
  117. package/generated/demio.ts +0 -8
  118. package/generated/dialpad.ts +0 -201
  119. package/generated/digicert.ts +0 -15
  120. package/generated/discord.ts +0 -17
  121. package/generated/discordbot.ts +0 -173
  122. package/generated/docmosis.ts +0 -8
  123. package/generated/docusign.ts +0 -351
  124. package/generated/dropbox.ts +0 -20
  125. package/generated/dropbox_sign.ts +0 -8
  126. package/generated/dynamics365.ts +0 -25
  127. package/generated/echtpost.ts +0 -10
  128. package/generated/elevenlabs.ts +0 -70
  129. package/generated/emailoctopus.ts +0 -16
  130. package/generated/enigma.ts +0 -11
  131. package/generated/entelligence.ts +0 -11
  132. package/generated/epic_games.ts +0 -8
  133. package/generated/eventbrite.ts +0 -12
  134. package/generated/exa.ts +0 -13
  135. package/generated/excel.ts +0 -34
  136. package/generated/exist.ts +0 -8
  137. package/generated/facebook.ts +0 -8
  138. package/generated/factorial.ts +0 -8
  139. package/generated/figma.ts +0 -59
  140. package/generated/finage.ts +0 -19
  141. package/generated/firecrawl.ts +0 -16
  142. package/generated/fireflies.ts +0 -21
  143. package/generated/fitbit.ts +0 -8
  144. package/generated/flutterwave.ts +0 -33
  145. package/generated/fomo.ts +0 -10
  146. package/generated/formcarry.ts +0 -10
  147. package/generated/formsite.ts +0 -14
  148. package/generated/foursquare.ts +0 -14
  149. package/generated/freshbooks.ts +0 -11
  150. package/generated/freshdesk.ts +0 -16
  151. package/generated/front.ts +0 -8
  152. package/generated/github.ts +0 -967
  153. package/generated/gitlab.ts +0 -82
  154. package/generated/gmail.d.ts +0 -86
  155. package/generated/gmail.js +0 -13
  156. package/generated/gmail.ts +0 -95
  157. package/generated/go_to_webinar.ts +0 -8
  158. package/generated/gong.ts +0 -63
  159. package/generated/google_analytics.ts +0 -13
  160. package/generated/google_maps.ts +0 -16
  161. package/generated/googleads.ts +0 -14
  162. package/generated/googlebigquery.ts +0 -10
  163. package/generated/googlecalendar.ts +0 -39
  164. package/generated/googledocs.ts +0 -41
  165. package/generated/googledrive.ts +0 -62
  166. package/generated/googlemeet.ts +0 -18
  167. package/generated/googlephotos.ts +0 -22
  168. package/generated/googlesheets.ts +0 -40
  169. package/generated/googleslides.ts +0 -8
  170. package/generated/googlesuper.ts +0 -230
  171. package/generated/googletasks.ts +0 -23
  172. package/generated/gorgias.ts +0 -41
  173. package/generated/gumroad.ts +0 -14
  174. package/generated/guru.ts +0 -8
  175. package/generated/hackernews.ts +0 -15
  176. package/generated/hackerrank_work.ts +0 -8
  177. package/generated/harvest.ts +0 -56
  178. package/generated/helcim.ts +0 -8
  179. package/generated/heygen.ts +0 -44
  180. package/generated/highlevel.ts +0 -8
  181. package/generated/hubspot.ts +0 -252
  182. package/generated/humanloop.ts +0 -13
  183. package/generated/icims_talent_cloud.ts +0 -8
  184. package/generated/idea_scale.ts +0 -8
  185. package/generated/index.ts +0 -151
  186. package/generated/insighto_ai.ts +0 -19
  187. package/generated/intercom.ts +0 -52
  188. package/generated/interzoid.ts +0 -8
  189. package/generated/jira.ts +0 -59
  190. package/generated/jotform.ts +0 -15
  191. package/generated/junglescout.ts +0 -15
  192. package/generated/keap.ts +0 -8
  193. package/generated/kibana.ts +0 -58
  194. package/generated/kit.ts +0 -38
  195. package/generated/klaviyo.ts +0 -240
  196. package/generated/klipfolio.ts +0 -20
  197. package/generated/kommo.ts +0 -24
  198. package/generated/lastpass.ts +0 -8
  199. package/generated/launch_darkly.ts +0 -16
  200. package/generated/leadfeeder.ts +0 -13
  201. package/generated/leadoku.ts +0 -10
  202. package/generated/lever.ts +0 -8
  203. package/generated/lever_sandbox.ts +0 -8
  204. package/generated/lexoffice.ts +0 -8
  205. package/generated/linear.ts +0 -31
  206. package/generated/linkedin.ts +0 -13
  207. package/generated/linkhut.ts +0 -14
  208. package/generated/linkup.ts +0 -11
  209. package/generated/listennotes.ts +0 -35
  210. package/generated/lmnt.ts +0 -16
  211. package/generated/lodgify.ts +0 -10
  212. package/generated/mailchimp.ts +0 -285
  213. package/generated/mailerlite.ts +0 -8
  214. package/generated/maintainx.ts +0 -20
  215. package/generated/make.ts +0 -12
  216. package/generated/mboum.ts +0 -8
  217. package/generated/mem0.ts +0 -52
  218. package/generated/metaads.ts +0 -25
  219. package/generated/metatextai.ts +0 -8
  220. package/generated/microsoft_clarity.ts +0 -10
  221. package/generated/microsoft_teams.ts +0 -22
  222. package/generated/microsoft_tenant.ts +0 -8
  223. package/generated/miro.ts +0 -23
  224. package/generated/mixpanel.ts +0 -30
  225. package/generated/mocean.ts +0 -8
  226. package/generated/monday.ts +0 -30
  227. package/generated/mopinion.ts +0 -8
  228. package/generated/more_trees.ts +0 -10
  229. package/generated/moxie.ts +0 -8
  230. package/generated/moz.ts +0 -8
  231. package/generated/mural.ts +0 -14
  232. package/generated/nasdaq.ts +0 -15
  233. package/generated/ncscale.ts +0 -8
  234. package/generated/neon.ts +0 -78
  235. package/generated/netsuite.ts +0 -8
  236. package/generated/nextdns.ts +0 -11
  237. package/generated/ngrok.ts +0 -18
  238. package/generated/notion.ts +0 -40
  239. package/generated/oncehub.ts +0 -8
  240. package/generated/one_drive.ts +0 -49
  241. package/generated/onepage.ts +0 -11
  242. package/generated/open_sea.ts +0 -33
  243. package/generated/outlook.ts +0 -37
  244. package/generated/pagerduty.ts +0 -362
  245. package/generated/pandadoc.ts +0 -23
  246. package/generated/peopledatalabs.ts +0 -24
  247. package/generated/perplexityai.ts +0 -10
  248. package/generated/piggy.ts +0 -8
  249. package/generated/pipedrive.ts +0 -288
  250. package/generated/placekey.ts +0 -12
  251. package/generated/posthog.ts +0 -367
  252. package/generated/precoro.ts +0 -8
  253. package/generated/printnode.ts +0 -8
  254. package/generated/process_street.ts +0 -14
  255. package/generated/productboard.ts +0 -8
  256. package/generated/qualaroo.ts +0 -8
  257. package/generated/quickbooks.ts +0 -22
  258. package/generated/rafflys.ts +0 -8
  259. package/generated/ragic.ts +0 -10
  260. package/generated/ramp.ts +0 -17
  261. package/generated/ravenseotools.ts +0 -8
  262. package/generated/recallai.ts +0 -17
  263. package/generated/reddit.ts +0 -19
  264. package/generated/resend.ts +0 -27
  265. package/generated/retellai.ts +0 -19
  266. package/generated/retently.ts +0 -24
  267. package/generated/ring_central.ts +0 -8
  268. package/generated/rippling.ts +0 -8
  269. package/generated/rocket_reach.ts +0 -8
  270. package/generated/rocketlane.ts +0 -42
  271. package/generated/rootly.ts +0 -12
  272. package/generated/rosette_text_analytics.ts +0 -12
  273. package/generated/sage.ts +0 -8
  274. package/generated/salesforce.ts +0 -46
  275. package/generated/scrape_do.ts +0 -28
  276. package/generated/scrapingant.ts +0 -14
  277. package/generated/screenshotone.ts +0 -10
  278. package/generated/seismic.ts +0 -8
  279. package/generated/semanticscholar.ts +0 -23
  280. package/generated/semrush.ts +0 -45
  281. package/generated/sendgrid.ts +0 -384
  282. package/generated/sentry.ts +0 -185
  283. package/generated/serpapi.ts +0 -32
  284. package/generated/servicem8.ts +0 -37
  285. package/generated/servicenow.ts +0 -14
  286. package/generated/share_point.ts +0 -15
  287. package/generated/shopify.ts +0 -37
  288. package/generated/shortcut.ts +0 -131
  289. package/generated/simplesat.ts +0 -11
  290. package/generated/slack.d.ts +0 -16
  291. package/generated/slack.js +0 -11
  292. package/generated/slack.ts +0 -24
  293. package/generated/slackbot.ts +0 -205
  294. package/generated/smartrecruiters.ts +0 -8
  295. package/generated/smugmug.ts +0 -14
  296. package/generated/snowflake.ts +0 -15
  297. package/generated/sourcegraph.ts +0 -16
  298. package/generated/square.ts +0 -8
  299. package/generated/stack_exchange.ts +0 -17
  300. package/generated/starton.ts +0 -11
  301. package/generated/storeganise.ts +0 -12
  302. package/generated/stripe.ts +0 -50
  303. package/generated/supabase.ts +0 -86
  304. package/generated/survey_monkey.ts +0 -8
  305. package/generated/tally.ts +0 -25
  306. package/generated/tapfiliate.ts +0 -11
  307. package/generated/tapform.ts +0 -8
  308. package/generated/tavily.ts +0 -10
  309. package/generated/terminus.ts +0 -8
  310. package/generated/text_to_pdf.ts +0 -10
  311. package/generated/textrazor.ts +0 -22
  312. package/generated/timecamp.ts +0 -10
  313. package/generated/timekit.ts +0 -8
  314. package/generated/timely.ts +0 -11
  315. package/generated/tinypng.ts +0 -15
  316. package/generated/tinyurl.ts +0 -10
  317. package/generated/tisane.ts +0 -15
  318. package/generated/todoist.ts +0 -19
  319. package/generated/toneden.ts +0 -8
  320. package/generated/tpscheck.ts +0 -10
  321. package/generated/trello.ts +0 -360
  322. package/generated/twitch.ts +0 -8
  323. package/generated/twitter.ts +0 -82
  324. package/generated/twitter_media.ts +0 -10
  325. package/generated/typefully.ts +0 -14
  326. package/generated/venly.ts +0 -8
  327. package/generated/vero.ts +0 -8
  328. package/generated/visme.ts +0 -8
  329. package/generated/waboxapp.ts +0 -8
  330. package/generated/wakatime.ts +0 -8
  331. package/generated/wave_accounting.ts +0 -8
  332. package/generated/weathermap.ts +0 -10
  333. package/generated/webex.ts +0 -37
  334. package/generated/webflow.ts +0 -30
  335. package/generated/whatsapp.ts +0 -14
  336. package/generated/wiz.ts +0 -8
  337. package/generated/workiom.ts +0 -12
  338. package/generated/wrike.ts +0 -47
  339. package/generated/xero.ts +0 -13
  340. package/generated/yandex.ts +0 -13
  341. package/generated/ynab.ts +0 -8
  342. package/generated/yousearch.ts +0 -10
  343. package/generated/youtube.ts +0 -26
  344. package/generated/zendesk.ts +0 -23
  345. package/generated/zenrows.ts +0 -25
  346. package/generated/zenserp.ts +0 -20
  347. package/generated/zoho.ts +0 -33
  348. package/generated/zoho_bigin.ts +0 -21
  349. package/generated/zoho_books.ts +0 -8
  350. package/generated/zoho_desk.ts +0 -8
  351. package/generated/zoho_inventory.ts +0 -8
  352. package/generated/zoho_invoice.ts +0 -15
  353. package/generated/zoho_mail.ts +0 -8
  354. package/generated/zoom.ts +0 -181
  355. package/generated/zoominfo.ts +0 -26
@@ -1,8 +1,9 @@
1
- import { D as ToolkitVersionParam, I as ProviderOptions, J as BaseNonAgenticProvider, Kt as McpUrlResponse, L as SessionExecuteMetaModifiers, P as ExecuteToolModifiers, Vt as McpServerGetResponse, Xt as ExecuteToolFnOptions, a as SchemaModifierOptions, b as ToolRetrievalOptions, d as ToolExecuteResponse$1, l as ToolExecuteParams, m as ToolListParams, o as Tool, p as ToolList, q as BaseComposioProvider, s as ToolExecuteMetaParams, v as ToolProxyParams } from "./tool.types-B4k2Bnxc.cjs";
2
- import { $t as UpdateConnectedAccountParams, E as Session, Ht as CreateConnectedAccountLinkOptions, I as ToolRouterCreateSessionConfig, It as ConnectedAccountRetrieveResponse, Kt as CreateConnectedAccountOptions, Pt as ConnectedAccountRefreshOptions, Tt as ConnectionRequest, c as CustomToolInputParameter, jt as ConnectedAccountListResponse, kt as ConnectedAccountListParams, l as CustomToolOptions } from "./customTool.types-BqC41wRt.cjs";
1
+ import { D as ToolkitVersionParam, I as ProviderOptions, J as BaseNonAgenticProvider, Kt as McpUrlResponse, L as SessionExecuteMetaModifiers, P as ExecuteToolModifiers, Vt as McpServerGetResponse, Xt as ExecuteToolFnOptions, a as SchemaModifierOptions, b as ToolRetrievalOptions, d as ToolExecuteResponse$1, l as ToolExecuteParams, m as ToolListParams, o as Tool, p as ToolList, q as BaseComposioProvider, s as ToolExecuteMetaParams, v as ToolProxyParams } from "./tool.types-CwbAy9l_.cjs";
2
+ import { H as ToolRouterCreateSessionConfig, Ht as ConnectedAccountListParams, Rt as ConnectionRequest, Wt as ConnectedAccountListResponse, Yt as ConnectedAccountRetrieveResponse, a as CustomTool, an as CreateConnectedAccountOptions, c as CustomToolInputParameter, fn as UpdateConnectedAccountParams, h as CustomToolkit, j as Session, l as CustomToolOptions, qt as ConnectedAccountRefreshOptions, tn as CreateConnectedAccountLinkOptions } from "./customTool.types-Bd8ylotX.cjs";
3
3
  import z$1, { z } from "zod/v3";
4
4
  import { ConnectedAccountDeleteResponse, ConnectedAccountRefreshResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse } from "@composio/client/resources/connected-accounts";
5
5
  import ComposioClient, { Composio } from "@composio/client";
6
+ import { SessionExecuteParams } from "@composio/client/resources/tool-router/session/session.mjs";
6
7
  import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrieveEnumResponse } from "@composio/client/resources/tools";
7
8
  import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
8
9
  import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
@@ -11,6 +12,9 @@ import { Stream } from "openai/streaming";
11
12
  import { Files } from "#files";
12
13
 
13
14
  //#region src/models/Tools.d.ts
15
+ type ToolRouterSessionExecuteOptions = {
16
+ experimental?: SessionExecuteParams.Experimental;
17
+ };
14
18
  /**
15
19
  * This class is used to manage tools in the Composio SDK.
16
20
  * It provides methods to list, get, and execute tools.
@@ -149,22 +153,22 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
149
153
  */
150
154
  getRawComposioTools(query: ToolListParams, options?: SchemaModifierOptions): Promise<ToolList>;
151
155
  /**
152
- * Fetches the meta tools for a tool router session.
153
- * This method fetches the meta tools from the Composio API and transforms them to the expected format.
154
- * It provides access to the underlying meta tool data without provider-specific wrapping.
156
+ * Fetches tools exposed by a tool router session.
157
+ * This includes helper/meta tools plus any tools preloaded into the session.
158
+ * It provides access to the underlying tool data without provider-specific wrapping.
155
159
  *
156
- * @param sessionId {string} The session id to get the meta tools for
160
+ * @param sessionId {string} The session id to get tools for
157
161
  * @param options {SchemaModifierOptions} Optional configuration for tool retrieval
158
162
  * @param {TransformToolSchemaModifier} [options.modifySchema] - Function to transform the tool schema
159
- * @returns {Promise<ToolList>} The list of meta tools
163
+ * @returns {Promise<ToolList>} The list of session tools
160
164
  *
161
165
  * @example
162
166
  * ```typescript
163
- * const metaTools = await composio.tools.getRawToolRouterMetaTools('session_123');
164
- * console.log(metaTools);
167
+ * const sessionTools = await composio.tools.getRawToolRouterSessionTools('session_123');
168
+ * console.log(sessionTools);
165
169
  * ```
166
170
  */
167
- getRawToolRouterMetaTools(sessionId: string, options?: SchemaModifierOptions): Promise<ToolList>;
171
+ getRawToolRouterSessionTools(sessionId: string, options?: SchemaModifierOptions): Promise<ToolList>;
168
172
  /**
169
173
  * Retrieves a specific tool by its slug from the Composio API.
170
174
  *
@@ -407,16 +411,17 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
407
411
  */
408
412
  execute(slug: string, body: ToolExecuteParams, modifiers?: ExecuteToolModifiers): Promise<ToolExecuteResponse$1>;
409
413
  /**
410
- * Executes a composio meta tool based on tool router session
414
+ * Executes a tool based on a tool router session.
411
415
  *
412
416
  * @param {string} toolSlug - The slug of the tool to execute
413
417
  * @param {ToolExecuteMetaParams} body - The execution parameters
414
418
  * @param {string} body.sessionId - The session id to execute the tool for
415
419
  * @param {Record<string, unknown>} body.arguments - The input to pass to the tool
416
420
  * @param {SessionExecuteMetaModifiers} modifiers - The modifiers to apply to the tool
421
+ * @param {Tool} tool - Optional tool schema used to resolve toolkit metadata for modifiers
417
422
  * @returns {Promise<ToolExecuteResponse>} The response from the tool execution
418
423
  */
419
- executeMetaTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers): Promise<ToolExecuteResponse$1>;
424
+ executeSessionTool(toolSlug: string, body: ToolExecuteMetaParams, modifiers?: SessionExecuteMetaModifiers, tool?: Tool, options?: ToolRouterSessionExecuteOptions): Promise<ToolExecuteResponse$1>;
420
425
  /**
421
426
  * Fetches the list of all available tools in the Composio SDK.
422
427
  *
@@ -537,16 +542,16 @@ declare const ToolkitsListParamsSchema: z.ZodObject<{
537
542
  limit: z.ZodOptional<z.ZodNumber>;
538
543
  }, "strip", z.ZodTypeAny, {
539
544
  limit?: number | undefined;
545
+ cursor?: string | undefined;
540
546
  category?: string | undefined;
541
547
  managedBy?: "all" | "composio" | "project" | undefined;
542
548
  sortBy?: "usage" | "alphabetically" | undefined;
543
- cursor?: string | undefined;
544
549
  }, {
545
550
  limit?: number | undefined;
551
+ cursor?: string | undefined;
546
552
  category?: string | undefined;
547
553
  managedBy?: "all" | "composio" | "project" | undefined;
548
554
  sortBy?: "usage" | "alphabetically" | undefined;
549
- cursor?: string | undefined;
550
555
  }>;
551
556
  type ToolkitMangedByEnum = z.infer<typeof ToolkitMangedByEnumSchema>;
552
557
  type ToolkitSortByEnum = z.infer<typeof ToolkitSortByEnumSchema>;
@@ -577,12 +582,12 @@ declare const ToolKitMetaSchema: z.ZodObject<{
577
582
  logo?: string | undefined;
578
583
  description?: string | undefined;
579
584
  availableVersions?: string[] | undefined;
585
+ createdAt?: string | undefined;
580
586
  categories?: {
581
587
  slug: string;
582
588
  name: string;
583
589
  }[] | undefined;
584
590
  appUrl?: string | undefined;
585
- createdAt?: string | undefined;
586
591
  toolsCount?: number | undefined;
587
592
  triggersCount?: number | undefined;
588
593
  updatedAt?: string | undefined;
@@ -590,12 +595,12 @@ declare const ToolKitMetaSchema: z.ZodObject<{
590
595
  logo?: string | undefined;
591
596
  description?: string | undefined;
592
597
  availableVersions?: string[] | undefined;
598
+ createdAt?: string | undefined;
593
599
  categories?: {
594
600
  slug: string;
595
601
  name: string;
596
602
  }[] | undefined;
597
603
  appUrl?: string | undefined;
598
- createdAt?: string | undefined;
599
604
  toolsCount?: number | undefined;
600
605
  triggersCount?: number | undefined;
601
606
  updatedAt?: string | undefined;
@@ -626,12 +631,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
626
631
  logo?: string | undefined;
627
632
  description?: string | undefined;
628
633
  availableVersions?: string[] | undefined;
634
+ createdAt?: string | undefined;
629
635
  categories?: {
630
636
  slug: string;
631
637
  name: string;
632
638
  }[] | undefined;
633
639
  appUrl?: string | undefined;
634
- createdAt?: string | undefined;
635
640
  toolsCount?: number | undefined;
636
641
  triggersCount?: number | undefined;
637
642
  updatedAt?: string | undefined;
@@ -639,12 +644,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
639
644
  logo?: string | undefined;
640
645
  description?: string | undefined;
641
646
  availableVersions?: string[] | undefined;
647
+ createdAt?: string | undefined;
642
648
  categories?: {
643
649
  slug: string;
644
650
  name: string;
645
651
  }[] | undefined;
646
652
  appUrl?: string | undefined;
647
- createdAt?: string | undefined;
648
653
  toolsCount?: number | undefined;
649
654
  triggersCount?: number | undefined;
650
655
  updatedAt?: string | undefined;
@@ -660,12 +665,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
660
665
  logo?: string | undefined;
661
666
  description?: string | undefined;
662
667
  availableVersions?: string[] | undefined;
668
+ createdAt?: string | undefined;
663
669
  categories?: {
664
670
  slug: string;
665
671
  name: string;
666
672
  }[] | undefined;
667
673
  appUrl?: string | undefined;
668
- createdAt?: string | undefined;
669
674
  toolsCount?: number | undefined;
670
675
  triggersCount?: number | undefined;
671
676
  updatedAt?: string | undefined;
@@ -681,12 +686,12 @@ declare const ToolKitItemSchema: z.ZodObject<{
681
686
  logo?: string | undefined;
682
687
  description?: string | undefined;
683
688
  availableVersions?: string[] | undefined;
689
+ createdAt?: string | undefined;
684
690
  categories?: {
685
691
  slug: string;
686
692
  name: string;
687
693
  }[] | undefined;
688
694
  appUrl?: string | undefined;
689
- createdAt?: string | undefined;
690
695
  toolsCount?: number | undefined;
691
696
  triggersCount?: number | undefined;
692
697
  updatedAt?: string | undefined;
@@ -722,12 +727,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
722
727
  logo?: string | undefined;
723
728
  description?: string | undefined;
724
729
  availableVersions?: string[] | undefined;
730
+ createdAt?: string | undefined;
725
731
  categories?: {
726
732
  slug: string;
727
733
  name: string;
728
734
  }[] | undefined;
729
735
  appUrl?: string | undefined;
730
- createdAt?: string | undefined;
731
736
  toolsCount?: number | undefined;
732
737
  triggersCount?: number | undefined;
733
738
  updatedAt?: string | undefined;
@@ -735,12 +740,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
735
740
  logo?: string | undefined;
736
741
  description?: string | undefined;
737
742
  availableVersions?: string[] | undefined;
743
+ createdAt?: string | undefined;
738
744
  categories?: {
739
745
  slug: string;
740
746
  name: string;
741
747
  }[] | undefined;
742
748
  appUrl?: string | undefined;
743
- createdAt?: string | undefined;
744
749
  toolsCount?: number | undefined;
745
750
  triggersCount?: number | undefined;
746
751
  updatedAt?: string | undefined;
@@ -756,12 +761,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
756
761
  logo?: string | undefined;
757
762
  description?: string | undefined;
758
763
  availableVersions?: string[] | undefined;
764
+ createdAt?: string | undefined;
759
765
  categories?: {
760
766
  slug: string;
761
767
  name: string;
762
768
  }[] | undefined;
763
769
  appUrl?: string | undefined;
764
- createdAt?: string | undefined;
765
770
  toolsCount?: number | undefined;
766
771
  triggersCount?: number | undefined;
767
772
  updatedAt?: string | undefined;
@@ -777,12 +782,12 @@ declare const ToolKitListResponseSchema: z.ZodArray<z.ZodObject<{
777
782
  logo?: string | undefined;
778
783
  description?: string | undefined;
779
784
  availableVersions?: string[] | undefined;
785
+ createdAt?: string | undefined;
780
786
  categories?: {
781
787
  slug: string;
782
788
  name: string;
783
789
  }[] | undefined;
784
790
  appUrl?: string | undefined;
785
- createdAt?: string | undefined;
786
791
  toolsCount?: number | undefined;
787
792
  triggersCount?: number | undefined;
788
793
  updatedAt?: string | undefined;
@@ -1181,12 +1186,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1181
1186
  logo?: string | undefined;
1182
1187
  description?: string | undefined;
1183
1188
  availableVersions?: string[] | undefined;
1189
+ createdAt?: string | undefined;
1184
1190
  categories?: {
1185
1191
  slug: string;
1186
1192
  name: string;
1187
1193
  }[] | undefined;
1188
1194
  appUrl?: string | undefined;
1189
- createdAt?: string | undefined;
1190
1195
  toolsCount?: number | undefined;
1191
1196
  triggersCount?: number | undefined;
1192
1197
  updatedAt?: string | undefined;
@@ -1194,12 +1199,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1194
1199
  logo?: string | undefined;
1195
1200
  description?: string | undefined;
1196
1201
  availableVersions?: string[] | undefined;
1202
+ createdAt?: string | undefined;
1197
1203
  categories?: {
1198
1204
  slug: string;
1199
1205
  name: string;
1200
1206
  }[] | undefined;
1201
1207
  appUrl?: string | undefined;
1202
- createdAt?: string | undefined;
1203
1208
  toolsCount?: number | undefined;
1204
1209
  triggersCount?: number | undefined;
1205
1210
  updatedAt?: string | undefined;
@@ -1551,12 +1556,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1551
1556
  logo?: string | undefined;
1552
1557
  description?: string | undefined;
1553
1558
  availableVersions?: string[] | undefined;
1559
+ createdAt?: string | undefined;
1554
1560
  categories?: {
1555
1561
  slug: string;
1556
1562
  name: string;
1557
1563
  }[] | undefined;
1558
1564
  appUrl?: string | undefined;
1559
- createdAt?: string | undefined;
1560
1565
  toolsCount?: number | undefined;
1561
1566
  triggersCount?: number | undefined;
1562
1567
  updatedAt?: string | undefined;
@@ -1618,12 +1623,12 @@ declare const ToolkitRetrieveResponseSchema: z.ZodObject<{
1618
1623
  logo?: string | undefined;
1619
1624
  description?: string | undefined;
1620
1625
  availableVersions?: string[] | undefined;
1626
+ createdAt?: string | undefined;
1621
1627
  categories?: {
1622
1628
  slug: string;
1623
1629
  name: string;
1624
1630
  }[] | undefined;
1625
1631
  appUrl?: string | undefined;
1626
- createdAt?: string | undefined;
1627
1632
  toolsCount?: number | undefined;
1628
1633
  triggersCount?: number | undefined;
1629
1634
  updatedAt?: string | undefined;
@@ -2045,20 +2050,20 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
2045
2050
  logo: string;
2046
2051
  };
2047
2052
  id: string;
2048
- uuid: string;
2049
2053
  noOfConnections: number;
2054
+ uuid: string;
2050
2055
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2051
- createdAt?: string | undefined;
2052
- isComposioManaged?: boolean | undefined;
2053
2056
  credentials?: Record<string, unknown> | undefined;
2054
2057
  toolAccessConfig?: {
2055
2058
  toolsForConnectedAccountCreation?: string[] | undefined;
2056
2059
  toolsAvailableForExecution?: string[] | undefined;
2057
2060
  } | undefined;
2058
2061
  isEnabledForToolRouter?: boolean | undefined;
2062
+ isComposioManaged?: boolean | undefined;
2059
2063
  expectedInputFields?: unknown[] | undefined;
2060
2064
  restrictToFollowingTools?: string[] | undefined;
2061
2065
  createdBy?: string | undefined;
2066
+ createdAt?: string | undefined;
2062
2067
  lastUpdatedAt?: string | undefined;
2063
2068
  }, {
2064
2069
  name: string;
@@ -2068,20 +2073,20 @@ declare const AuthConfigRetrieveResponseSchema: z.ZodObject<{
2068
2073
  logo: string;
2069
2074
  };
2070
2075
  id: string;
2071
- uuid: string;
2072
2076
  noOfConnections: number;
2077
+ uuid: string;
2073
2078
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2074
- createdAt?: string | undefined;
2075
- isComposioManaged?: boolean | undefined;
2076
2079
  credentials?: Record<string, unknown> | undefined;
2077
2080
  toolAccessConfig?: {
2078
2081
  toolsForConnectedAccountCreation?: string[] | undefined;
2079
2082
  toolsAvailableForExecution?: string[] | undefined;
2080
2083
  } | undefined;
2081
2084
  isEnabledForToolRouter?: boolean | undefined;
2085
+ isComposioManaged?: boolean | undefined;
2082
2086
  expectedInputFields?: unknown[] | undefined;
2083
2087
  restrictToFollowingTools?: string[] | undefined;
2084
2088
  createdBy?: string | undefined;
2089
+ createdAt?: string | undefined;
2085
2090
  lastUpdatedAt?: string | undefined;
2086
2091
  }>;
2087
2092
  type AuthConfigRetrieveResponse = z.infer<typeof AuthConfigRetrieveResponseSchema>;
@@ -2093,13 +2098,13 @@ declare const AuthConfigListParamsSchema: z.ZodObject<{
2093
2098
  }, "strip", z.ZodTypeAny, {
2094
2099
  toolkit?: string | undefined;
2095
2100
  limit?: number | undefined;
2096
- cursor?: string | undefined;
2097
2101
  isComposioManaged?: boolean | undefined;
2102
+ cursor?: string | undefined;
2098
2103
  }, {
2099
2104
  toolkit?: string | undefined;
2100
2105
  limit?: number | undefined;
2101
- cursor?: string | undefined;
2102
2106
  isComposioManaged?: boolean | undefined;
2107
+ cursor?: string | undefined;
2103
2108
  }>;
2104
2109
  type AuthConfigListParams = z.infer<typeof AuthConfigListParamsSchema>;
2105
2110
  declare const AuthConfigListResponseSchema: z.ZodObject<{
@@ -2149,20 +2154,20 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2149
2154
  logo: string;
2150
2155
  };
2151
2156
  id: string;
2152
- uuid: string;
2153
2157
  noOfConnections: number;
2158
+ uuid: string;
2154
2159
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2155
- createdAt?: string | undefined;
2156
- isComposioManaged?: boolean | undefined;
2157
2160
  credentials?: Record<string, unknown> | undefined;
2158
2161
  toolAccessConfig?: {
2159
2162
  toolsForConnectedAccountCreation?: string[] | undefined;
2160
2163
  toolsAvailableForExecution?: string[] | undefined;
2161
2164
  } | undefined;
2162
2165
  isEnabledForToolRouter?: boolean | undefined;
2166
+ isComposioManaged?: boolean | undefined;
2163
2167
  expectedInputFields?: unknown[] | undefined;
2164
2168
  restrictToFollowingTools?: string[] | undefined;
2165
2169
  createdBy?: string | undefined;
2170
+ createdAt?: string | undefined;
2166
2171
  lastUpdatedAt?: string | undefined;
2167
2172
  }, {
2168
2173
  name: string;
@@ -2172,20 +2177,20 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2172
2177
  logo: string;
2173
2178
  };
2174
2179
  id: string;
2175
- uuid: string;
2176
2180
  noOfConnections: number;
2181
+ uuid: string;
2177
2182
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2178
- createdAt?: string | undefined;
2179
- isComposioManaged?: boolean | undefined;
2180
2183
  credentials?: Record<string, unknown> | undefined;
2181
2184
  toolAccessConfig?: {
2182
2185
  toolsForConnectedAccountCreation?: string[] | undefined;
2183
2186
  toolsAvailableForExecution?: string[] | undefined;
2184
2187
  } | undefined;
2185
2188
  isEnabledForToolRouter?: boolean | undefined;
2189
+ isComposioManaged?: boolean | undefined;
2186
2190
  expectedInputFields?: unknown[] | undefined;
2187
2191
  restrictToFollowingTools?: string[] | undefined;
2188
2192
  createdBy?: string | undefined;
2193
+ createdAt?: string | undefined;
2189
2194
  lastUpdatedAt?: string | undefined;
2190
2195
  }>, "many">;
2191
2196
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -2199,20 +2204,20 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2199
2204
  logo: string;
2200
2205
  };
2201
2206
  id: string;
2202
- uuid: string;
2203
2207
  noOfConnections: number;
2208
+ uuid: string;
2204
2209
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2205
- createdAt?: string | undefined;
2206
- isComposioManaged?: boolean | undefined;
2207
2210
  credentials?: Record<string, unknown> | undefined;
2208
2211
  toolAccessConfig?: {
2209
2212
  toolsForConnectedAccountCreation?: string[] | undefined;
2210
2213
  toolsAvailableForExecution?: string[] | undefined;
2211
2214
  } | undefined;
2212
2215
  isEnabledForToolRouter?: boolean | undefined;
2216
+ isComposioManaged?: boolean | undefined;
2213
2217
  expectedInputFields?: unknown[] | undefined;
2214
2218
  restrictToFollowingTools?: string[] | undefined;
2215
2219
  createdBy?: string | undefined;
2220
+ createdAt?: string | undefined;
2216
2221
  lastUpdatedAt?: string | undefined;
2217
2222
  }[];
2218
2223
  nextCursor: string | null;
@@ -2226,20 +2231,20 @@ declare const AuthConfigListResponseSchema: z.ZodObject<{
2226
2231
  logo: string;
2227
2232
  };
2228
2233
  id: string;
2229
- uuid: string;
2230
2234
  noOfConnections: number;
2235
+ uuid: string;
2231
2236
  authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "S2S_OAUTH2" | undefined;
2232
- createdAt?: string | undefined;
2233
- isComposioManaged?: boolean | undefined;
2234
2237
  credentials?: Record<string, unknown> | undefined;
2235
2238
  toolAccessConfig?: {
2236
2239
  toolsForConnectedAccountCreation?: string[] | undefined;
2237
2240
  toolsAvailableForExecution?: string[] | undefined;
2238
2241
  } | undefined;
2239
2242
  isEnabledForToolRouter?: boolean | undefined;
2243
+ isComposioManaged?: boolean | undefined;
2240
2244
  expectedInputFields?: unknown[] | undefined;
2241
2245
  restrictToFollowingTools?: string[] | undefined;
2242
2246
  createdBy?: string | undefined;
2247
+ createdAt?: string | undefined;
2243
2248
  lastUpdatedAt?: string | undefined;
2244
2249
  }[];
2245
2250
  nextCursor: string | null;
@@ -2576,16 +2581,16 @@ declare const TriggerSubscribeParamSchema: z.ZodObject<{
2576
2581
  toolkits?: string[] | undefined;
2577
2582
  connectedAccountId?: string | undefined;
2578
2583
  userId?: string | undefined;
2579
- authConfigId?: string | undefined;
2580
2584
  triggerId?: string | undefined;
2585
+ authConfigId?: string | undefined;
2581
2586
  triggerSlug?: string[] | undefined;
2582
2587
  triggerData?: string | undefined;
2583
2588
  }, {
2584
2589
  toolkits?: string[] | undefined;
2585
2590
  connectedAccountId?: string | undefined;
2586
2591
  userId?: string | undefined;
2587
- authConfigId?: string | undefined;
2588
2592
  triggerId?: string | undefined;
2593
+ authConfigId?: string | undefined;
2589
2594
  triggerSlug?: string[] | undefined;
2590
2595
  triggerData?: string | undefined;
2591
2596
  }>;
@@ -2628,8 +2633,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
2628
2633
  uuid: z.ZodOptional<z.ZodString>;
2629
2634
  }, "strip", z.ZodTypeAny, {
2630
2635
  connectedAccountId: string;
2631
- updatedAt: string;
2632
2636
  id: string;
2637
+ updatedAt: string;
2633
2638
  disabledAt: string | null;
2634
2639
  state: Record<string, unknown>;
2635
2640
  triggerConfig: Record<string, unknown>;
@@ -2638,8 +2643,8 @@ declare const TriggerInstanceListActiveResponseItemSchema: z.ZodObject<{
2638
2643
  triggerData?: string | undefined;
2639
2644
  }, {
2640
2645
  connectedAccountId: string;
2641
- updatedAt: string;
2642
2646
  id: string;
2647
+ updatedAt: string;
2643
2648
  disabledAt: string | null;
2644
2649
  state: Record<string, unknown>;
2645
2650
  triggerConfig: Record<string, unknown>;
@@ -2660,8 +2665,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2660
2665
  uuid: z.ZodOptional<z.ZodString>;
2661
2666
  }, "strip", z.ZodTypeAny, {
2662
2667
  connectedAccountId: string;
2663
- updatedAt: string;
2664
2668
  id: string;
2669
+ updatedAt: string;
2665
2670
  disabledAt: string | null;
2666
2671
  state: Record<string, unknown>;
2667
2672
  triggerConfig: Record<string, unknown>;
@@ -2670,8 +2675,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2670
2675
  triggerData?: string | undefined;
2671
2676
  }, {
2672
2677
  connectedAccountId: string;
2673
- updatedAt: string;
2674
2678
  id: string;
2679
+ updatedAt: string;
2675
2680
  disabledAt: string | null;
2676
2681
  state: Record<string, unknown>;
2677
2682
  triggerConfig: Record<string, unknown>;
@@ -2684,8 +2689,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2684
2689
  }, "strip", z.ZodTypeAny, {
2685
2690
  items: {
2686
2691
  connectedAccountId: string;
2687
- updatedAt: string;
2688
2692
  id: string;
2693
+ updatedAt: string;
2689
2694
  disabledAt: string | null;
2690
2695
  state: Record<string, unknown>;
2691
2696
  triggerConfig: Record<string, unknown>;
@@ -2698,8 +2703,8 @@ declare const TriggerInstanceListActiveResponseSchema: z.ZodObject<{
2698
2703
  }, {
2699
2704
  items: {
2700
2705
  connectedAccountId: string;
2701
- updatedAt: string;
2702
2706
  id: string;
2707
+ updatedAt: string;
2703
2708
  disabledAt: string | null;
2704
2709
  state: Record<string, unknown>;
2705
2710
  triggerConfig: Record<string, unknown>;
@@ -2781,46 +2786,46 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2781
2786
  status: "ACTIVE" | "INACTIVE";
2782
2787
  userId: string;
2783
2788
  id: string;
2784
- authConfigId: string;
2785
2789
  uuid: string;
2790
+ authConfigId: string;
2786
2791
  authConfigUUID: string;
2787
2792
  }, {
2788
2793
  status: "ACTIVE" | "INACTIVE";
2789
2794
  userId: string;
2790
2795
  id: string;
2791
- authConfigId: string;
2792
2796
  uuid: string;
2797
+ authConfigId: string;
2793
2798
  authConfigUUID: string;
2794
2799
  }>;
2795
2800
  }, "strip", z.ZodTypeAny, {
2796
2801
  toolkitSlug: string;
2797
2802
  id: string;
2798
2803
  uuid: string;
2799
- triggerSlug: string;
2800
- triggerConfig: Record<string, unknown>;
2801
2804
  connectedAccount: {
2802
2805
  status: "ACTIVE" | "INACTIVE";
2803
2806
  userId: string;
2804
2807
  id: string;
2805
- authConfigId: string;
2806
2808
  uuid: string;
2809
+ authConfigId: string;
2807
2810
  authConfigUUID: string;
2808
2811
  };
2812
+ triggerSlug: string;
2813
+ triggerConfig: Record<string, unknown>;
2809
2814
  triggerData?: string | undefined;
2810
2815
  }, {
2811
2816
  toolkitSlug: string;
2812
2817
  id: string;
2813
2818
  uuid: string;
2814
- triggerSlug: string;
2815
- triggerConfig: Record<string, unknown>;
2816
2819
  connectedAccount: {
2817
2820
  status: "ACTIVE" | "INACTIVE";
2818
2821
  userId: string;
2819
2822
  id: string;
2820
- authConfigId: string;
2821
2823
  uuid: string;
2824
+ authConfigId: string;
2822
2825
  authConfigUUID: string;
2823
2826
  };
2827
+ triggerSlug: string;
2828
+ triggerConfig: Record<string, unknown>;
2824
2829
  triggerData?: string | undefined;
2825
2830
  }>;
2826
2831
  }, "strip", z.ZodTypeAny, {
@@ -2833,16 +2838,16 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2833
2838
  toolkitSlug: string;
2834
2839
  id: string;
2835
2840
  uuid: string;
2836
- triggerSlug: string;
2837
- triggerConfig: Record<string, unknown>;
2838
2841
  connectedAccount: {
2839
2842
  status: "ACTIVE" | "INACTIVE";
2840
2843
  userId: string;
2841
2844
  id: string;
2842
- authConfigId: string;
2843
2845
  uuid: string;
2846
+ authConfigId: string;
2844
2847
  authConfigUUID: string;
2845
2848
  };
2849
+ triggerSlug: string;
2850
+ triggerConfig: Record<string, unknown>;
2846
2851
  triggerData?: string | undefined;
2847
2852
  };
2848
2853
  payload?: Record<string, unknown> | undefined;
@@ -2857,16 +2862,16 @@ declare const IncomingTriggerPayloadSchema: z.ZodObject<{
2857
2862
  toolkitSlug: string;
2858
2863
  id: string;
2859
2864
  uuid: string;
2860
- triggerSlug: string;
2861
- triggerConfig: Record<string, unknown>;
2862
2865
  connectedAccount: {
2863
2866
  status: "ACTIVE" | "INACTIVE";
2864
2867
  userId: string;
2865
2868
  id: string;
2866
- authConfigId: string;
2867
2869
  uuid: string;
2870
+ authConfigId: string;
2868
2871
  authConfigUUID: string;
2869
2872
  };
2873
+ triggerSlug: string;
2874
+ triggerConfig: Record<string, unknown>;
2870
2875
  triggerData?: string | undefined;
2871
2876
  };
2872
2877
  payload?: Record<string, unknown> | undefined;
@@ -2938,8 +2943,8 @@ declare const TriggerTypeSchema: z.ZodObject<{
2938
2943
  name: string;
2939
2944
  logo: string;
2940
2945
  };
2941
- config: Record<string, unknown>;
2942
2946
  payload: Record<string, unknown>;
2947
+ config: Record<string, unknown>;
2943
2948
  version?: string | undefined;
2944
2949
  instructions?: string | undefined;
2945
2950
  }, {
@@ -2951,8 +2956,8 @@ declare const TriggerTypeSchema: z.ZodObject<{
2951
2956
  name: string;
2952
2957
  logo: string;
2953
2958
  };
2954
- config: Record<string, unknown>;
2955
2959
  payload: Record<string, unknown>;
2960
+ config: Record<string, unknown>;
2956
2961
  version?: string | undefined;
2957
2962
  instructions?: string | undefined;
2958
2963
  }>;
@@ -2988,8 +2993,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
2988
2993
  name: string;
2989
2994
  logo: string;
2990
2995
  };
2991
- config: Record<string, unknown>;
2992
2996
  payload: Record<string, unknown>;
2997
+ config: Record<string, unknown>;
2993
2998
  version?: string | undefined;
2994
2999
  instructions?: string | undefined;
2995
3000
  }, {
@@ -3001,8 +3006,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
3001
3006
  name: string;
3002
3007
  logo: string;
3003
3008
  };
3004
- config: Record<string, unknown>;
3005
3009
  payload: Record<string, unknown>;
3010
+ config: Record<string, unknown>;
3006
3011
  version?: string | undefined;
3007
3012
  instructions?: string | undefined;
3008
3013
  }>, "many">;
@@ -3018,8 +3023,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
3018
3023
  name: string;
3019
3024
  logo: string;
3020
3025
  };
3021
- config: Record<string, unknown>;
3022
3026
  payload: Record<string, unknown>;
3027
+ config: Record<string, unknown>;
3023
3028
  version?: string | undefined;
3024
3029
  instructions?: string | undefined;
3025
3030
  }[];
@@ -3035,8 +3040,8 @@ declare const TriggersTypeListResponseSchema: z.ZodObject<{
3035
3040
  name: string;
3036
3041
  logo: string;
3037
3042
  };
3038
- config: Record<string, unknown>;
3039
3043
  payload: Record<string, unknown>;
3044
+ config: Record<string, unknown>;
3040
3045
  version?: string | undefined;
3041
3046
  instructions?: string | undefined;
3042
3047
  }[];
@@ -3830,6 +3835,22 @@ declare class ConnectedAccounts {
3830
3835
  * This function creates a new connected account and returns a connection request.
3831
3836
  * Users can then wait for the connection to be established using the `waitForConnection` method.
3832
3837
  *
3838
+ * **Deprecated for Composio-managed OAuth (OAuth1, OAuth2, DCR_OAUTH).**
3839
+ * The legacy `POST /api/v3/connected_accounts` endpoint that this method
3840
+ * wraps is being retired for Composio-managed auth configs on redirectable
3841
+ * schemes. The cutover is **2026-05-08** for new organizations and
3842
+ * **2026-07-03** for all remaining organizations. After your org's cutover,
3843
+ * this method will throw {@link ComposioLegacyConnectedAccountsEndpointRetiredError}
3844
+ * for that specific combination.
3845
+ *
3846
+ * Use {@link ConnectedAccounts.link} for Composio-managed OAuth — it works for
3847
+ * every redirectable scheme regardless of whether the auth config is
3848
+ * Composio-managed or custom, and the return shape is the same.
3849
+ *
3850
+ * Custom auth configs (your own OAuth app) and non-OAuth schemes (API key,
3851
+ * bearer token, basic auth) are unaffected and continue to work on
3852
+ * `initiate()`. See https://docs.composio.dev/docs/changelog/2026/04/24
3853
+ *
3833
3854
  * @param {string} userId - User ID of the connected account
3834
3855
  * @param {string} authConfigId - Auth config ID of the connected account
3835
3856
  * @param {CreateConnectedAccountOptions} options - Options for creating a new connected account
@@ -5007,6 +5028,8 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
5007
5028
  private createMCPServerConfig;
5008
5029
  /**
5009
5030
  * Creates a new tool router session for a user.
5031
+ * Use `sessionPreset: SessionPreset.DIRECT_TOOLS` when all needed tools
5032
+ * should be exposed directly; see `ToolRouterCreateSessionConfig`.
5010
5033
  *
5011
5034
  * @param userId {string} The user id to create the session for
5012
5035
  * @param config {ToolRouterCreateSessionConfig} The config for the tool router session
@@ -5014,7 +5037,7 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
5014
5037
  *
5015
5038
  * @example
5016
5039
  * ```typescript
5017
- * import { Composio, experimental_createTool } from '@composio/core';
5040
+ * import { Composio } from '@composio/core';
5018
5041
  *
5019
5042
  * const composio = new Composio();
5020
5043
  *
@@ -5046,7 +5069,10 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
5046
5069
  * console.log(session.mcp.headers);
5047
5070
  * ```
5048
5071
  */
5049
- use(id: string): Promise<Session<TToolCollection, TTool, TProvider>>;
5072
+ use(id: string, options?: {
5073
+ customTools?: CustomTool[];
5074
+ customToolkits?: CustomToolkit[];
5075
+ }): Promise<Session<TToolCollection, TTool, TProvider>>;
5050
5076
  }
5051
5077
  //#endregion
5052
5078
  //#region src/composio.d.ts
@@ -5223,6 +5249,8 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
5223
5249
  toolRouter: ToolRouter<unknown, unknown, TProvider>;
5224
5250
  /**
5225
5251
  * Creates a new tool router session for a user.
5252
+ * Use `sessionPreset: SessionPreset.DIRECT_TOOLS` when all needed tools
5253
+ * should be exposed directly; see `ToolRouterCreateSessionConfig`.
5226
5254
  *
5227
5255
  * @param userId {string} The user id to create the session for
5228
5256
  * @param config {ToolRouterConfig} The config for the tool router session
@@ -5251,7 +5279,10 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
5251
5279
  * @param id {string} The id of the session to use
5252
5280
  * @returns {Promise<Session<TToolCollection, TTool, TProvider>>} The tool router session
5253
5281
  */
5254
- use: (id: string) => Promise<Session<unknown, unknown, TProvider>>;
5282
+ use: (id: string, options?: {
5283
+ customTools?: CustomTool[];
5284
+ customToolkits?: CustomToolkit[];
5285
+ }) => Promise<Session<unknown, unknown, TProvider>>;
5255
5286
  /**
5256
5287
  * Creates a new instance of the Composio SDK.
5257
5288
  *