@composio/core 0.23.0 → 0.25.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 (50) hide show
  1. package/dist/{CustomTool-CnJxXr07.mjs → CustomTool-BYHB7sPs.mjs} +1 -1
  2. package/dist/{CustomTool-CnHdegDK.d.mts → CustomTool-DZY1yLHN.d.mts} +1 -1
  3. package/dist/{cancellation-BQibgpRG.mjs → cancellation-D-tMPk48.mjs} +1 -1
  4. package/dist/{composio-Dq708dZS.d.mts → composio-B8AENilE.d.mts} +74 -62
  5. package/dist/{customTool.types-B8lVpHOP.d.mts → customTool.types-Bi6-keZC.d.mts} +612 -141
  6. package/dist/docs/reference/sdk-reference/typescript/auth-configs.mdx +10 -10
  7. package/dist/docs/reference/sdk-reference/typescript/composio.mdx +2 -2
  8. package/dist/docs/reference/sdk-reference/typescript/connected-accounts.mdx +22 -22
  9. package/dist/docs/reference/sdk-reference/typescript/custom-toolkits.mdx +8 -8
  10. package/dist/docs/reference/sdk-reference/typescript/experimental.mdx +2 -2
  11. package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -1
  12. package/dist/docs/reference/sdk-reference/typescript/keyring.mdx +2 -2
  13. package/dist/docs/reference/sdk-reference/typescript/logs.mdx +5 -5
  14. package/dist/docs/reference/sdk-reference/typescript/mcp.mdx +15 -15
  15. package/dist/docs/reference/sdk-reference/typescript/meta.json +1 -1
  16. package/dist/docs/reference/sdk-reference/typescript/session-configs.mdx +5 -5
  17. package/dist/docs/reference/sdk-reference/typescript/session-files.mdx +10 -10
  18. package/dist/docs/reference/sdk-reference/typescript/session.mdx +56 -21
  19. package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +6 -6
  20. package/dist/docs/reference/sdk-reference/typescript/toolkits.mdx +22 -22
  21. package/dist/docs/reference/sdk-reference/typescript/tools.mdx +18 -18
  22. package/dist/docs/reference/sdk-reference/typescript/triggers.mdx +25 -25
  23. package/dist/docs/reference/sdk-reference/typescript/usage.mdx +6 -6
  24. package/dist/docs/reference/sdk-reference/typescript/webhook-endpoints.mdx +14 -14
  25. package/dist/docs/reference/sdk-reference/typescript/webhook-subscriptions.mdx +13 -13
  26. package/dist/{errors-BN15NcCW.mjs → errors-Cly0vXFh.mjs} +5 -5
  27. package/dist/experimental/index.d.mts +2 -2
  28. package/dist/experimental/index.mjs +1 -1
  29. package/dist/index.d.mts +31 -7
  30. package/dist/index.mjs +382 -147
  31. package/dist/{types-eTw8Yw7Y.d.mts → types-BGDMkEUl.d.mts} +2 -2
  32. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  33. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  34. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  35. package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
  36. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  37. package/package.json +8 -8
  38. package/src/composio.ts +19 -16
  39. package/src/errors/ToolRouterErrors.ts +5 -5
  40. package/src/lib/toolRouterParams.ts +44 -16
  41. package/src/models/MCP.ts +20 -1
  42. package/src/models/ToolRouter.ts +9 -0
  43. package/src/models/ToolRouterSession.ts +68 -0
  44. package/src/models/Triggers.ts +8 -6
  45. package/src/services/pusher/Pusher.ts +159 -88
  46. package/src/types/pusher.types.ts +2 -0
  47. package/src/types/toolRouter.types.ts +190 -19
  48. package/src/utils/session.ts +25 -47
  49. package/src/utils/transformers/toolRouterResponseTransform.ts +8 -2
  50. package/src/utils/userCallback.ts +41 -0
@@ -3,7 +3,7 @@ import z, { z as z$1 } from "zod/v3";
3
3
  import { z as z$2 } from "zod/v4";
4
4
  import { CustomCreateResponse, GenerateURLResponse, McpCreateResponse } from "@composio/client/resources/mcp";
5
5
  import { ConnectedAccountUpdateStatusParams as UpdateConnectedAccountParams } from "@composio/client/resources/connected-accounts";
6
- import { SessionConfigHistoryResponse, SessionCreateParams, SessionCreateResponse } from "@composio/client/resources/tool-router/session/session.mjs";
6
+ import { SessionConfigHistoryResponse, SessionCreateParams, SessionCreateResponse, SessionExecuteMetaParams, SessionExecuteParams } from "@composio/client/resources/tool-router/session/session.mjs";
7
7
  //#region src/types/tool.types.d.ts
8
8
  /**
9
9
  * Toolkit is the collection of tools,
@@ -29436,6 +29436,7 @@ declare abstract class BaseProvider<TMcpResponse> {
29436
29436
  * for MCP server responses.
29437
29437
  *
29438
29438
  * @param data - The MCP URL response data
29439
+
29439
29440
  * @returns Transformed response in provider-specific format, or undefined to use default transformation
29440
29441
  */
29441
29442
  wrapMcpServerResponse?(data: McpUrlResponse): TMcpResponse;
@@ -30623,6 +30624,12 @@ declare const ToolRouterInstantSchema: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObj
30623
30624
  * usage on a Session set to `false`.
30624
30625
  */
30625
30626
  returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
30627
+ /**
30628
+ * Experimental. Show each Instant tool's price in Session search
30629
+ * results, under `toolkitConnectionStatuses[].instantAccount.prices`.
30630
+ * Controls visibility only.
30631
+ */
30632
+ returnPricesInSearch: z.ZodOptional<z.ZodBoolean>;
30626
30633
  }, "strict", z.ZodTypeAny, {
30627
30634
  tools?: Record<string, {
30628
30635
  enable: string[];
@@ -30635,6 +30642,7 @@ declare const ToolRouterInstantSchema: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObj
30635
30642
  enable: string[];
30636
30643
  } | undefined;
30637
30644
  returnInstantCharge?: boolean | undefined;
30645
+ returnPricesInSearch?: boolean | undefined;
30638
30646
  }, {
30639
30647
  tools?: Record<string, {
30640
30648
  enable: string[];
@@ -30647,6 +30655,7 @@ declare const ToolRouterInstantSchema: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObj
30647
30655
  enable: string[];
30648
30656
  } | undefined;
30649
30657
  returnInstantCharge?: boolean | undefined;
30658
+ returnPricesInSearch?: boolean | undefined;
30650
30659
  }>]>;
30651
30660
  type ToolRouterInstant = z.infer<typeof ToolRouterInstantSchema>;
30652
30661
  declare const ToolRouterManageConnectionsConfigSchema: z.ZodObject<{
@@ -30659,26 +30668,40 @@ declare const ToolRouterManageConnectionsConfigSchema: z.ZodObject<{
30659
30668
  enable?: boolean | undefined;
30660
30669
  callbackUrl?: string | undefined;
30661
30670
  }>;
30662
- declare const ToolRouterTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
30671
+ declare const ToolRouterTagsParamSchema: z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">;
30663
30672
  declare const ToolRouterTagsEnableDisableSchema: z.ZodObject<{
30664
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30665
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30673
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30674
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30675
+ /**
30676
+ * Tools with any of these tags need the user's approval before they run.
30677
+ * @experimental
30678
+ */
30679
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30666
30680
  }, "strict", z.ZodTypeAny, {
30667
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30668
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30681
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30682
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30683
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30669
30684
  }, {
30670
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30671
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30685
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30686
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30687
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30672
30688
  }>;
30673
- declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30674
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30675
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30689
+ declare const ToolRouterConfigTagsSchema: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30690
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30691
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30692
+ /**
30693
+ * Tools with any of these tags need the user's approval before they run.
30694
+ * @experimental
30695
+ */
30696
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30676
30697
  }, "strict", z.ZodTypeAny, {
30677
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30678
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30698
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30699
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30700
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30679
30701
  }, {
30680
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30681
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30702
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30703
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30704
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30682
30705
  }>]>;
30683
30706
  type ToolRouterConfigTags = z.infer<typeof ToolRouterConfigTagsSchema>;
30684
30707
  /**
@@ -30707,134 +30730,253 @@ declare const ToolRouterToolsParamSchema: z.ZodArray<z.ZodString, "many">;
30707
30730
  type ToolRouterToolsParam = z.infer<typeof ToolRouterToolsParamSchema>;
30708
30731
  declare const ToolRouterConfigToolsSchema: z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
30709
30732
  enable: z.ZodArray<z.ZodString, "many">;
30733
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30710
30734
  }, "strict", z.ZodTypeAny, {
30711
30735
  enable: string[];
30736
+ requireApproval?: string[] | undefined;
30712
30737
  }, {
30713
30738
  enable: string[];
30739
+ requireApproval?: string[] | undefined;
30714
30740
  }>, z.ZodObject<{
30715
30741
  disable: z.ZodArray<z.ZodString, "many">;
30742
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30716
30743
  }, "strict", z.ZodTypeAny, {
30717
30744
  disable: string[];
30745
+ requireApproval?: string[] | undefined;
30718
30746
  }, {
30719
30747
  disable: string[];
30748
+ requireApproval?: string[] | undefined;
30720
30749
  }>, z.ZodObject<{
30721
- tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30722
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30723
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30750
+ tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30751
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30752
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30753
+ /**
30754
+ * Tools with any of these tags need the user's approval before they run.
30755
+ * @experimental
30756
+ */
30757
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30724
30758
  }, "strict", z.ZodTypeAny, {
30725
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30726
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30759
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30760
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30761
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30727
30762
  }, {
30728
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30729
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30763
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30764
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30765
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30730
30766
  }>]>;
30767
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30731
30768
  }, "strict", z.ZodTypeAny, {
30732
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30733
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30734
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30769
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30770
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30771
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30772
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30735
30773
  };
30774
+ requireApproval?: string[] | undefined;
30736
30775
  }, {
30737
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30738
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30739
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30776
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30777
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30778
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30779
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30740
30780
  };
30781
+ requireApproval?: string[] | undefined;
30782
+ }>, z.ZodObject<{
30783
+ requireApproval: z.ZodArray<z.ZodString, "many">;
30784
+ }, "strict", z.ZodTypeAny, {
30785
+ requireApproval: string[];
30786
+ }, {
30787
+ requireApproval: string[];
30741
30788
  }>]>, string[] | {
30742
30789
  enable: string[];
30790
+ requireApproval?: string[] | undefined;
30743
30791
  } | {
30744
30792
  disable: string[];
30793
+ requireApproval?: string[] | undefined;
30745
30794
  } | {
30746
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30747
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30748
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30795
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30796
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30797
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30798
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30749
30799
  };
30800
+ requireApproval?: string[] | undefined;
30801
+ } | {
30802
+ requireApproval: string[];
30750
30803
  }, string[] | {
30751
30804
  enable: string[];
30805
+ requireApproval?: string[] | undefined;
30752
30806
  } | {
30753
30807
  disable: string[];
30808
+ requireApproval?: string[] | undefined;
30754
30809
  } | {
30755
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30756
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30757
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30810
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30811
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30812
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30813
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30758
30814
  };
30815
+ requireApproval?: string[] | undefined;
30816
+ } | {
30817
+ requireApproval: string[];
30759
30818
  }>;
30760
30819
  type ToolRouterConfigTools = z.infer<typeof ToolRouterConfigToolsSchema>;
30820
+ /**
30821
+ * Proxy execute settings for a session. `enable: true` exposes the
30822
+ * `COMPOSIO_PROXY_EXECUTE` meta tool and `enable: false` also turns off the
30823
+ * sandbox `proxy_execute()` helper. Leaving the block out keeps the meta tool
30824
+ * off while `sandbox.enableProxyExecution` controls the helper.
30825
+ */
30826
+ declare const ToolRouterProxyExecuteConfigSchema: z.ZodObject<{
30827
+ enable: z.ZodBoolean;
30828
+ }, "strict", z.ZodTypeAny, {
30829
+ enable: boolean;
30830
+ }, {
30831
+ enable: boolean;
30832
+ }>;
30833
+ type ToolRouterProxyExecuteConfig = z.infer<typeof ToolRouterProxyExecuteConfigSchema>;
30834
+ /**
30835
+ * `proxyExecute` as accepted by `sessions.create()` and `session.update()`:
30836
+ * a boolean is shorthand for `{ enable: boolean }`.
30837
+ */
30838
+ declare const ToolRouterProxyExecuteSchema: z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
30839
+ enable: z.ZodBoolean;
30840
+ }, "strict", z.ZodTypeAny, {
30841
+ enable: boolean;
30842
+ }, {
30843
+ enable: boolean;
30844
+ }>]>;
30845
+ type ToolRouterProxyExecute = z.infer<typeof ToolRouterProxyExecuteSchema>;
30761
30846
  declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
30762
30847
  sessionPreset: z.ZodOptional<z.ZodOptional<z.ZodLiteral<"direct_tools">>>;
30763
30848
  mcp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
30764
30849
  tools: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
30765
30850
  enable: z.ZodArray<z.ZodString, "many">;
30851
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30766
30852
  }, "strict", z.ZodTypeAny, {
30767
30853
  enable: string[];
30854
+ requireApproval?: string[] | undefined;
30768
30855
  }, {
30769
30856
  enable: string[];
30857
+ requireApproval?: string[] | undefined;
30770
30858
  }>, z.ZodObject<{
30771
30859
  disable: z.ZodArray<z.ZodString, "many">;
30860
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30772
30861
  }, "strict", z.ZodTypeAny, {
30773
30862
  disable: string[];
30863
+ requireApproval?: string[] | undefined;
30774
30864
  }, {
30775
30865
  disable: string[];
30866
+ requireApproval?: string[] | undefined;
30776
30867
  }>, z.ZodObject<{
30777
- tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30778
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30779
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30868
+ tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30869
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30870
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30871
+ /**
30872
+ * Tools with any of these tags need the user's approval before they run.
30873
+ * @experimental
30874
+ */
30875
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30780
30876
  }, "strict", z.ZodTypeAny, {
30781
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30782
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30877
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30878
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30879
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30783
30880
  }, {
30784
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30785
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30881
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30882
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30883
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30786
30884
  }>]>;
30885
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30787
30886
  }, "strict", z.ZodTypeAny, {
30788
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30789
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30790
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30887
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30888
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30889
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30890
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30791
30891
  };
30892
+ requireApproval?: string[] | undefined;
30792
30893
  }, {
30793
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30794
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30795
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30894
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30895
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30896
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30897
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30796
30898
  };
30899
+ requireApproval?: string[] | undefined;
30900
+ }>, z.ZodObject<{
30901
+ requireApproval: z.ZodArray<z.ZodString, "many">;
30902
+ }, "strict", z.ZodTypeAny, {
30903
+ requireApproval: string[];
30904
+ }, {
30905
+ requireApproval: string[];
30797
30906
  }>]>, string[] | {
30798
30907
  enable: string[];
30908
+ requireApproval?: string[] | undefined;
30799
30909
  } | {
30800
30910
  disable: string[];
30911
+ requireApproval?: string[] | undefined;
30801
30912
  } | {
30802
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30803
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30804
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30913
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30914
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30915
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30916
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30805
30917
  };
30918
+ requireApproval?: string[] | undefined;
30919
+ } | {
30920
+ requireApproval: string[];
30806
30921
  }, string[] | {
30807
30922
  enable: string[];
30923
+ requireApproval?: string[] | undefined;
30808
30924
  } | {
30809
30925
  disable: string[];
30926
+ requireApproval?: string[] | undefined;
30810
30927
  } | {
30811
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30812
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30813
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30928
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30929
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30930
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30931
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30814
30932
  };
30933
+ requireApproval?: string[] | undefined;
30934
+ } | {
30935
+ requireApproval: string[];
30815
30936
  }>]>>>>;
30816
- tags: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30817
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30818
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30937
+ tags: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
30938
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30939
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30940
+ /**
30941
+ * Tools with any of these tags need the user's approval before they run.
30942
+ * @experimental
30943
+ */
30944
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
30819
30945
  }, "strict", z.ZodTypeAny, {
30820
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30821
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30946
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30947
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30948
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30822
30949
  }, {
30823
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30824
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30950
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30951
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30952
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30825
30953
  }>]>>>;
30826
30954
  toolkits: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
30827
30955
  disable: z.ZodArray<z.ZodString, "many">;
30956
+ } & {
30957
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30828
30958
  }, "strict", z.ZodTypeAny, {
30829
30959
  disable: string[];
30960
+ requireApproval?: string[] | undefined;
30830
30961
  }, {
30831
30962
  disable: string[];
30963
+ requireApproval?: string[] | undefined;
30832
30964
  }>, z.ZodObject<{
30833
30965
  enable: z.ZodArray<z.ZodString, "many">;
30966
+ } & {
30967
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30834
30968
  }, "strict", z.ZodTypeAny, {
30835
30969
  enable: string[];
30970
+ requireApproval?: string[] | undefined;
30836
30971
  }, {
30837
30972
  enable: string[];
30973
+ requireApproval?: string[] | undefined;
30974
+ }>, z.ZodObject<{
30975
+ requireApproval: z.ZodArray<z.ZodString, "many">;
30976
+ }, "strict", z.ZodTypeAny, {
30977
+ requireApproval: string[];
30978
+ }, {
30979
+ requireApproval: string[];
30838
30980
  }>]>>>;
30839
30981
  instant: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
30840
30982
  toolkits: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -30869,6 +31011,12 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30869
31011
  * usage on a Session set to `false`.
30870
31012
  */
30871
31013
  returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
31014
+ /**
31015
+ * Experimental. Show each Instant tool's price in Session search
31016
+ * results, under `toolkitConnectionStatuses[].instantAccount.prices`.
31017
+ * Controls visibility only.
31018
+ */
31019
+ returnPricesInSearch: z.ZodOptional<z.ZodBoolean>;
30872
31020
  }, "strict", z.ZodTypeAny, {
30873
31021
  tools?: Record<string, {
30874
31022
  enable: string[];
@@ -30881,6 +31029,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30881
31029
  enable: string[];
30882
31030
  } | undefined;
30883
31031
  returnInstantCharge?: boolean | undefined;
31032
+ returnPricesInSearch?: boolean | undefined;
30884
31033
  }, {
30885
31034
  tools?: Record<string, {
30886
31035
  enable: string[];
@@ -30893,6 +31042,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30893
31042
  enable: string[];
30894
31043
  } | undefined;
30895
31044
  returnInstantCharge?: boolean | undefined;
31045
+ returnPricesInSearch?: boolean | undefined;
30896
31046
  }>]>>>;
30897
31047
  authConfigs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
30898
31048
  connectedAccounts: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>>;
@@ -30954,6 +31104,13 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30954
31104
  maxAccountsPerToolkit?: number | undefined;
30955
31105
  requireExplicitSelection?: boolean | undefined;
30956
31106
  }>>>;
31107
+ proxyExecute: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
31108
+ enable: z.ZodBoolean;
31109
+ }, "strict", z.ZodTypeAny, {
31110
+ enable: boolean;
31111
+ }, {
31112
+ enable: boolean;
31113
+ }>]>>>;
30957
31114
  preload: z.ZodOptional<z.ZodOptional<z.ZodObject<{
30958
31115
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>>;
30959
31116
  }, "strict", z.ZodTypeAny, {
@@ -30972,6 +31129,13 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30972
31129
  customTools: z.ZodOptional<z.ZodArray<z.ZodType<CustomTool, z.ZodTypeDef, CustomTool>, "many">>;
30973
31130
  customToolkits: z.ZodOptional<z.ZodArray<z.ZodType<CustomToolkit, z.ZodTypeDef, CustomToolkit>, "many">>;
30974
31131
  sessionConfigId: z.ZodOptional<z.ZodString>;
31132
+ /**
31133
+ * What happens to a call that needs the user's approval when the
31134
+ * session's MCP client can't ask the user: `deny` (the default) or
31135
+ * `allow`.
31136
+ * @experimental
31137
+ */
31138
+ noElicitationSupportFallback: z.ZodOptional<z.ZodEnum<["deny", "allow"]>>;
30975
31139
  }, "strip", z.ZodTypeAny, {
30976
31140
  assistivePrompt?: {
30977
31141
  userTimezone?: string | undefined;
@@ -30979,6 +31143,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30979
31143
  customTools?: CustomTool[] | undefined;
30980
31144
  customToolkits?: CustomToolkit[] | undefined;
30981
31145
  sessionConfigId?: string | undefined;
31146
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
30982
31147
  }, {
30983
31148
  assistivePrompt?: {
30984
31149
  userTimezone?: string | undefined;
@@ -30986,26 +31151,38 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
30986
31151
  customTools?: CustomTool[] | undefined;
30987
31152
  customToolkits?: CustomToolkit[] | undefined;
30988
31153
  sessionConfigId?: string | undefined;
31154
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
30989
31155
  }>>>;
30990
31156
  }, "strip", z.ZodTypeAny, {
30991
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
30992
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30993
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31157
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31158
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31159
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31160
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
30994
31161
  } | undefined;
30995
31162
  tools?: Record<string, string[] | {
30996
31163
  enable: string[];
31164
+ requireApproval?: string[] | undefined;
30997
31165
  } | {
30998
31166
  disable: string[];
31167
+ requireApproval?: string[] | undefined;
30999
31168
  } | {
31000
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31001
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31002
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31169
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31170
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31171
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31172
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31003
31173
  };
31174
+ requireApproval?: string[] | undefined;
31175
+ } | {
31176
+ requireApproval: string[];
31004
31177
  }> | undefined;
31005
31178
  toolkits?: string[] | {
31006
31179
  disable: string[];
31180
+ requireApproval?: string[] | undefined;
31007
31181
  } | {
31008
31182
  enable: string[];
31183
+ requireApproval?: string[] | undefined;
31184
+ } | {
31185
+ requireApproval: string[];
31009
31186
  } | undefined;
31010
31187
  preload?: {
31011
31188
  tools?: string[] | "all" | undefined;
@@ -31024,6 +31201,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31024
31201
  enable: string[];
31025
31202
  } | undefined;
31026
31203
  returnInstantCharge?: boolean | undefined;
31204
+ returnPricesInSearch?: boolean | undefined;
31027
31205
  } | undefined;
31028
31206
  authConfigs?: Record<string, string> | undefined;
31029
31207
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31049,6 +31227,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31049
31227
  maxAccountsPerToolkit?: number | undefined;
31050
31228
  requireExplicitSelection?: boolean | undefined;
31051
31229
  } | undefined;
31230
+ proxyExecute?: boolean | {
31231
+ enable: boolean;
31232
+ } | undefined;
31052
31233
  experimental?: {
31053
31234
  assistivePrompt?: {
31054
31235
  userTimezone?: string | undefined;
@@ -31056,26 +31237,38 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31056
31237
  customTools?: CustomTool[] | undefined;
31057
31238
  customToolkits?: CustomToolkit[] | undefined;
31058
31239
  sessionConfigId?: string | undefined;
31240
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31059
31241
  } | undefined;
31060
31242
  }, {
31061
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31062
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31063
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31243
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31244
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31245
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31246
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31064
31247
  } | undefined;
31065
31248
  tools?: Record<string, string[] | {
31066
31249
  enable: string[];
31250
+ requireApproval?: string[] | undefined;
31067
31251
  } | {
31068
31252
  disable: string[];
31253
+ requireApproval?: string[] | undefined;
31069
31254
  } | {
31070
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31071
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31072
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31255
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31256
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31257
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31258
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31073
31259
  };
31260
+ requireApproval?: string[] | undefined;
31261
+ } | {
31262
+ requireApproval: string[];
31074
31263
  }> | undefined;
31075
31264
  toolkits?: string[] | {
31076
31265
  disable: string[];
31266
+ requireApproval?: string[] | undefined;
31077
31267
  } | {
31078
31268
  enable: string[];
31269
+ requireApproval?: string[] | undefined;
31270
+ } | {
31271
+ requireApproval: string[];
31079
31272
  } | undefined;
31080
31273
  preload?: {
31081
31274
  tools?: string[] | "all" | undefined;
@@ -31094,6 +31287,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31094
31287
  enable: string[];
31095
31288
  } | undefined;
31096
31289
  returnInstantCharge?: boolean | undefined;
31290
+ returnPricesInSearch?: boolean | undefined;
31097
31291
  } | undefined;
31098
31292
  authConfigs?: Record<string, string> | undefined;
31099
31293
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31119,6 +31313,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31119
31313
  maxAccountsPerToolkit?: number | undefined;
31120
31314
  requireExplicitSelection?: boolean | undefined;
31121
31315
  } | undefined;
31316
+ proxyExecute?: boolean | {
31317
+ enable: boolean;
31318
+ } | undefined;
31122
31319
  experimental?: {
31123
31320
  assistivePrompt?: {
31124
31321
  userTimezone?: string | undefined;
@@ -31126,26 +31323,38 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31126
31323
  customTools?: CustomTool[] | undefined;
31127
31324
  customToolkits?: CustomToolkit[] | undefined;
31128
31325
  sessionConfigId?: string | undefined;
31326
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31129
31327
  } | undefined;
31130
31328
  }>, {
31131
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31132
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31133
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31329
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31330
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31331
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31332
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31134
31333
  } | undefined;
31135
31334
  tools?: Record<string, string[] | {
31136
31335
  enable: string[];
31336
+ requireApproval?: string[] | undefined;
31137
31337
  } | {
31138
31338
  disable: string[];
31339
+ requireApproval?: string[] | undefined;
31139
31340
  } | {
31140
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31141
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31142
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31341
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31342
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31343
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31344
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31143
31345
  };
31346
+ requireApproval?: string[] | undefined;
31347
+ } | {
31348
+ requireApproval: string[];
31144
31349
  }> | undefined;
31145
31350
  toolkits?: string[] | {
31146
31351
  disable: string[];
31352
+ requireApproval?: string[] | undefined;
31147
31353
  } | {
31148
31354
  enable: string[];
31355
+ requireApproval?: string[] | undefined;
31356
+ } | {
31357
+ requireApproval: string[];
31149
31358
  } | undefined;
31150
31359
  preload?: {
31151
31360
  tools?: string[] | "all" | undefined;
@@ -31164,6 +31373,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31164
31373
  enable: string[];
31165
31374
  } | undefined;
31166
31375
  returnInstantCharge?: boolean | undefined;
31376
+ returnPricesInSearch?: boolean | undefined;
31167
31377
  } | undefined;
31168
31378
  authConfigs?: Record<string, string> | undefined;
31169
31379
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31189,6 +31399,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31189
31399
  maxAccountsPerToolkit?: number | undefined;
31190
31400
  requireExplicitSelection?: boolean | undefined;
31191
31401
  } | undefined;
31402
+ proxyExecute?: boolean | {
31403
+ enable: boolean;
31404
+ } | undefined;
31192
31405
  experimental?: {
31193
31406
  assistivePrompt?: {
31194
31407
  userTimezone?: string | undefined;
@@ -31196,26 +31409,38 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31196
31409
  customTools?: CustomTool[] | undefined;
31197
31410
  customToolkits?: CustomToolkit[] | undefined;
31198
31411
  sessionConfigId?: string | undefined;
31412
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31199
31413
  } | undefined;
31200
31414
  }, {
31201
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31202
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31203
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31415
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31416
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31417
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31418
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31204
31419
  } | undefined;
31205
31420
  tools?: Record<string, string[] | {
31206
31421
  enable: string[];
31422
+ requireApproval?: string[] | undefined;
31207
31423
  } | {
31208
31424
  disable: string[];
31425
+ requireApproval?: string[] | undefined;
31209
31426
  } | {
31210
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31211
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31212
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31427
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31428
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31429
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31430
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31213
31431
  };
31432
+ requireApproval?: string[] | undefined;
31433
+ } | {
31434
+ requireApproval: string[];
31214
31435
  }> | undefined;
31215
31436
  toolkits?: string[] | {
31216
31437
  disable: string[];
31438
+ requireApproval?: string[] | undefined;
31217
31439
  } | {
31218
31440
  enable: string[];
31441
+ requireApproval?: string[] | undefined;
31442
+ } | {
31443
+ requireApproval: string[];
31219
31444
  } | undefined;
31220
31445
  preload?: {
31221
31446
  tools?: string[] | "all" | undefined;
@@ -31234,6 +31459,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31234
31459
  enable: string[];
31235
31460
  } | undefined;
31236
31461
  returnInstantCharge?: boolean | undefined;
31462
+ returnPricesInSearch?: boolean | undefined;
31237
31463
  } | undefined;
31238
31464
  authConfigs?: Record<string, string> | undefined;
31239
31465
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31259,6 +31485,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31259
31485
  maxAccountsPerToolkit?: number | undefined;
31260
31486
  requireExplicitSelection?: boolean | undefined;
31261
31487
  } | undefined;
31488
+ proxyExecute?: boolean | {
31489
+ enable: boolean;
31490
+ } | undefined;
31262
31491
  experimental?: {
31263
31492
  assistivePrompt?: {
31264
31493
  userTimezone?: string | undefined;
@@ -31266,26 +31495,38 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31266
31495
  customTools?: CustomTool[] | undefined;
31267
31496
  customToolkits?: CustomToolkit[] | undefined;
31268
31497
  sessionConfigId?: string | undefined;
31498
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31269
31499
  } | undefined;
31270
31500
  }>, {
31271
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31272
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31273
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31501
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31502
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31503
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31504
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31274
31505
  } | undefined;
31275
31506
  tools?: Record<string, string[] | {
31276
31507
  enable: string[];
31508
+ requireApproval?: string[] | undefined;
31277
31509
  } | {
31278
31510
  disable: string[];
31511
+ requireApproval?: string[] | undefined;
31279
31512
  } | {
31280
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31281
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31282
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31513
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
31514
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31515
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31516
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
31283
31517
  };
31518
+ requireApproval?: string[] | undefined;
31519
+ } | {
31520
+ requireApproval: string[];
31284
31521
  }> | undefined;
31285
31522
  toolkits?: string[] | {
31286
31523
  disable: string[];
31524
+ requireApproval?: string[] | undefined;
31287
31525
  } | {
31288
31526
  enable: string[];
31527
+ requireApproval?: string[] | undefined;
31528
+ } | {
31529
+ requireApproval: string[];
31289
31530
  } | undefined;
31290
31531
  preload?: {
31291
31532
  tools?: string[] | "all" | undefined;
@@ -31304,6 +31545,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31304
31545
  enable: string[];
31305
31546
  } | undefined;
31306
31547
  returnInstantCharge?: boolean | undefined;
31548
+ returnPricesInSearch?: boolean | undefined;
31307
31549
  } | undefined;
31308
31550
  authConfigs?: Record<string, string> | undefined;
31309
31551
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -31329,6 +31571,9 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31329
31571
  maxAccountsPerToolkit?: number | undefined;
31330
31572
  requireExplicitSelection?: boolean | undefined;
31331
31573
  } | undefined;
31574
+ proxyExecute?: boolean | {
31575
+ enable: boolean;
31576
+ } | undefined;
31332
31577
  experimental?: {
31333
31578
  assistivePrompt?: {
31334
31579
  userTimezone?: string | undefined;
@@ -31336,6 +31581,7 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31336
31581
  customTools?: CustomTool[] | undefined;
31337
31582
  customToolkits?: CustomToolkit[] | undefined;
31338
31583
  sessionConfigId?: string | undefined;
31584
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
31339
31585
  } | undefined;
31340
31586
  }, unknown>;
31341
31587
  /**
@@ -31361,6 +31607,8 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
31361
31607
  * @param {boolean} [multiAccount.enable] - When true, enables multi-account mode. Falls back to org/project-level config when not set.
31362
31608
  * @param {number} [multiAccount.maxAccountsPerToolkit] - Max connected accounts per toolkit (2-10, default 5)
31363
31609
  * @param {boolean} [multiAccount.requireExplicitSelection] - When true, require explicit account selection when multiple accounts are connected
31610
+ * @param {boolean | object} [proxyExecute] - Proxy execute configuration for this session. A boolean is shorthand for `{ enable }`.
31611
+ * @param {boolean} proxyExecute.enable - `true` exposes the `COMPOSIO_PROXY_EXECUTE` meta tool. `false` also turns off the sandbox `proxy_execute()` helper.
31364
31612
  * @param {object} [preload] - Tools to preload into session.tools() and the MCP tool list
31365
31613
  * @param {string[] | 'all'} [preload.tools] - Tool slugs to preload, or "all" to preload every app tool allowed by the session filters. "all" requires a positive filter such as toolkits, tools, or tags; the backend validates and caps the final tool set.
31366
31614
  * @param {object} [experimental] - Experimental features configuration. Not stable; may change or be removed.
@@ -31780,10 +32028,32 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31780
32028
  /** Present when the toolkit runs on a Composio Instant account; only these tools run on it. */
31781
32029
  instantAccount: z.ZodOptional<z.ZodObject<{
31782
32030
  allowedToolSlugs: z.ZodArray<z.ZodString, "many">;
32031
+ /**
32032
+ * Price of each tool, keyed by tool slug. Present only when the Session
32033
+ * sets `instant.returnPricesInSearch`.
32034
+ */
32035
+ prices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
32036
+ description: z.ZodOptional<z.ZodString>;
32037
+ discount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32038
+ }, "strip", z.ZodTypeAny, {
32039
+ description?: string | undefined;
32040
+ discount?: string | null | undefined;
32041
+ }, {
32042
+ description?: string | undefined;
32043
+ discount?: string | null | undefined;
32044
+ }>>>;
31783
32045
  }, "strip", z.ZodTypeAny, {
31784
32046
  allowedToolSlugs: string[];
32047
+ prices?: Record<string, {
32048
+ description?: string | undefined;
32049
+ discount?: string | null | undefined;
32050
+ }> | undefined;
31785
32051
  }, {
31786
32052
  allowedToolSlugs: string[];
32053
+ prices?: Record<string, {
32054
+ description?: string | undefined;
32055
+ discount?: string | null | undefined;
32056
+ }> | undefined;
31787
32057
  }>>;
31788
32058
  }, "strip", z.ZodTypeAny, {
31789
32059
  description: string;
@@ -31794,6 +32064,10 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31794
32064
  currentUserInfo?: Record<string, unknown> | undefined;
31795
32065
  instantAccount?: {
31796
32066
  allowedToolSlugs: string[];
32067
+ prices?: Record<string, {
32068
+ description?: string | undefined;
32069
+ discount?: string | null | undefined;
32070
+ }> | undefined;
31797
32071
  } | undefined;
31798
32072
  }, {
31799
32073
  description: string;
@@ -31804,6 +32078,10 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31804
32078
  currentUserInfo?: Record<string, unknown> | undefined;
31805
32079
  instantAccount?: {
31806
32080
  allowedToolSlugs: string[];
32081
+ prices?: Record<string, {
32082
+ description?: string | undefined;
32083
+ discount?: string | null | undefined;
32084
+ }> | undefined;
31807
32085
  } | undefined;
31808
32086
  }>, "many">;
31809
32087
  nextStepsGuidance: z.ZodArray<z.ZodString, "many">;
@@ -31878,6 +32156,10 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31878
32156
  currentUserInfo?: Record<string, unknown> | undefined;
31879
32157
  instantAccount?: {
31880
32158
  allowedToolSlugs: string[];
32159
+ prices?: Record<string, {
32160
+ description?: string | undefined;
32161
+ discount?: string | null | undefined;
32162
+ }> | undefined;
31881
32163
  } | undefined;
31882
32164
  }[];
31883
32165
  nextStepsGuidance: string[];
@@ -31936,6 +32218,10 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
31936
32218
  currentUserInfo?: Record<string, unknown> | undefined;
31937
32219
  instantAccount?: {
31938
32220
  allowedToolSlugs: string[];
32221
+ prices?: Record<string, {
32222
+ description?: string | undefined;
32223
+ discount?: string | null | undefined;
32224
+ }> | undefined;
31939
32225
  } | undefined;
31940
32226
  }[];
31941
32227
  nextStepsGuidance: string[];
@@ -32033,7 +32319,38 @@ interface ToolRouterSessionExecuteOptions {
32033
32319
  * COMPOSIO_MULTI_EXECUTE_TOOL.tools[].account.
32034
32320
  */
32035
32321
  account?: string;
32322
+ /**
32323
+ * The user's answers to the questions of a `ComposioToolInputRequiredError`,
32324
+ * keyed by the IDs in its `inputRequests`. Send them by repeating the same
32325
+ * call (same tool and arguments). An approved call runs; a denied or
32326
+ * declined one returns `resultType: 'failed'`.
32327
+ * @experimental
32328
+ */
32329
+ inputResponses?: Record<string, ToolRouterInputResponse>;
32330
+ /**
32331
+ * The `requestState` of the `ComposioToolInputRequiredError`, sent back
32332
+ * unchanged with `inputResponses`.
32333
+ * @experimental
32334
+ */
32335
+ requestState?: string;
32036
32336
  }
32337
+ /**
32338
+ * The user's answer to one question, in the shape of an MCP elicitation
32339
+ * result: `accept` with the form's fields in `content`, `decline` when they
32340
+ * said no, or `cancel` when they dismissed it. For an approval, `content` is
32341
+ * `{ decision: 'approve' }`, `{ decision: 'always_approve' }` or
32342
+ * `{ decision: 'deny' }`.
32343
+ * @experimental
32344
+ */
32345
+ type ToolRouterInputResponse = NonNullable<SessionExecuteParams['input_responses']>[string];
32346
+ /**
32347
+ * Slug of a Composio meta tool (`COMPOSIO_*`) that `session.executeMeta()` can
32348
+ * run, for example `COMPOSIO_SEARCH_TOOLS`.
32349
+ */
32350
+ type ToolRouterSessionMetaToolSlug = SessionExecuteMetaParams['slug'];
32351
+ /** Options for `session.executeMeta()`: the user's answers to an earlier `input_required` call. */
32352
+ type ToolRouterSessionExecuteMetaOptions = Pick<ToolRouterSessionExecuteOptions, 'inputResponses' | 'requestState'>;
32353
+ type ToolRouterSessionExecuteMetaFn = (slug: ToolRouterSessionMetaToolSlug, arguments_?: Record<string, unknown>, options?: ToolRouterSessionExecuteMetaOptions, requestOptions?: ComposioRequestOptions) => Promise<ToolRouterSessionExecuteResponse>;
32037
32354
  type ToolRouterSessionPreloadConfig = SessionCreateResponse.Config.Preload;
32038
32355
  type ToolRouterSessionWorkbenchConfig = SessionCreateResponse.Config.Workbench;
32039
32356
  type ToolRouterSessionWarning = SessionCreateResponse.Warning;
@@ -32147,9 +32464,16 @@ declare const ToolRouterUpdateExperimentalSchema: z.ZodObject<{
32147
32464
  }, {
32148
32465
  enable: boolean;
32149
32466
  }>>>;
32467
+ /**
32468
+ * What happens to a call that needs the user's approval when the session's
32469
+ * MCP client can't ask the user: `deny` or `allow`.
32470
+ * @experimental
32471
+ */
32472
+ noElicitationSupportFallback: z.ZodOptional<z.ZodEnum<["deny", "allow"]>>;
32150
32473
  sessionConfigId: z.ZodOptional<z.ZodString>;
32151
32474
  }, "strict", z.ZodTypeAny, {
32152
32475
  sessionConfigId?: string | undefined;
32476
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
32153
32477
  permissions?: {
32154
32478
  default: "allow_all" | "ask_every_call" | "ask_once_per_session";
32155
32479
  overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
@@ -32161,6 +32485,7 @@ declare const ToolRouterUpdateExperimentalSchema: z.ZodObject<{
32161
32485
  } | null | undefined;
32162
32486
  }, {
32163
32487
  sessionConfigId?: string | undefined;
32488
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
32164
32489
  permissions?: {
32165
32490
  default: "allow_all" | "ask_every_call" | "ask_once_per_session";
32166
32491
  overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
@@ -32212,6 +32537,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32212
32537
  * usage on a Session set to `false`.
32213
32538
  */
32214
32539
  returnInstantCharge: z.ZodOptional<z.ZodBoolean>;
32540
+ /**
32541
+ * Experimental. Show each Instant tool's price in Session search
32542
+ * results, under `toolkitConnectionStatuses[].instantAccount.prices`.
32543
+ * Controls visibility only.
32544
+ */
32545
+ returnPricesInSearch: z.ZodOptional<z.ZodBoolean>;
32215
32546
  }, "strict", z.ZodTypeAny, {
32216
32547
  tools?: Record<string, {
32217
32548
  enable: string[];
@@ -32224,6 +32555,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32224
32555
  enable: string[];
32225
32556
  } | undefined;
32226
32557
  returnInstantCharge?: boolean | undefined;
32558
+ returnPricesInSearch?: boolean | undefined;
32227
32559
  }, {
32228
32560
  tools?: Record<string, {
32229
32561
  enable: string[];
@@ -32236,81 +32568,139 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32236
32568
  enable: string[];
32237
32569
  } | undefined;
32238
32570
  returnInstantCharge?: boolean | undefined;
32571
+ returnPricesInSearch?: boolean | undefined;
32239
32572
  }>]>>>;
32240
32573
  toolkits: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
32241
32574
  disable: z.ZodArray<z.ZodString, "many">;
32575
+ } & {
32576
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32242
32577
  }, "strict", z.ZodTypeAny, {
32243
32578
  disable: string[];
32579
+ requireApproval?: string[] | undefined;
32244
32580
  }, {
32245
32581
  disable: string[];
32582
+ requireApproval?: string[] | undefined;
32246
32583
  }>, z.ZodObject<{
32247
32584
  enable: z.ZodArray<z.ZodString, "many">;
32585
+ } & {
32586
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32248
32587
  }, "strict", z.ZodTypeAny, {
32249
32588
  enable: string[];
32589
+ requireApproval?: string[] | undefined;
32250
32590
  }, {
32251
32591
  enable: string[];
32592
+ requireApproval?: string[] | undefined;
32593
+ }>, z.ZodObject<{
32594
+ requireApproval: z.ZodArray<z.ZodString, "many">;
32595
+ }, "strict", z.ZodTypeAny, {
32596
+ requireApproval: string[];
32597
+ }, {
32598
+ requireApproval: string[];
32252
32599
  }>]>>>>;
32253
32600
  tools: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
32254
32601
  enable: z.ZodArray<z.ZodString, "many">;
32602
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32255
32603
  }, "strict", z.ZodTypeAny, {
32256
32604
  enable: string[];
32605
+ requireApproval?: string[] | undefined;
32257
32606
  }, {
32258
32607
  enable: string[];
32608
+ requireApproval?: string[] | undefined;
32259
32609
  }>, z.ZodObject<{
32260
32610
  disable: z.ZodArray<z.ZodString, "many">;
32611
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32261
32612
  }, "strict", z.ZodTypeAny, {
32262
32613
  disable: string[];
32614
+ requireApproval?: string[] | undefined;
32263
32615
  }, {
32264
32616
  disable: string[];
32617
+ requireApproval?: string[] | undefined;
32265
32618
  }>, z.ZodObject<{
32266
- tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
32267
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32268
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32619
+ tags: z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
32620
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32621
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32622
+ /**
32623
+ * Tools with any of these tags need the user's approval before they run.
32624
+ * @experimental
32625
+ */
32626
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32269
32627
  }, "strict", z.ZodTypeAny, {
32270
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32271
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32628
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32629
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32630
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32272
32631
  }, {
32273
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32274
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32632
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32633
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32634
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32275
32635
  }>]>;
32636
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32276
32637
  }, "strict", z.ZodTypeAny, {
32277
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32278
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32279
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32638
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32639
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32640
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32641
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32280
32642
  };
32643
+ requireApproval?: string[] | undefined;
32281
32644
  }, {
32282
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32283
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32284
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32645
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32646
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32647
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32648
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32285
32649
  };
32650
+ requireApproval?: string[] | undefined;
32651
+ }>, z.ZodObject<{
32652
+ requireApproval: z.ZodArray<z.ZodString, "many">;
32653
+ }, "strict", z.ZodTypeAny, {
32654
+ requireApproval: string[];
32655
+ }, {
32656
+ requireApproval: string[];
32286
32657
  }>]>, string[] | {
32287
32658
  enable: string[];
32659
+ requireApproval?: string[] | undefined;
32288
32660
  } | {
32289
32661
  disable: string[];
32662
+ requireApproval?: string[] | undefined;
32290
32663
  } | {
32291
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32292
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32293
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32664
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32665
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32666
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32667
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32294
32668
  };
32669
+ requireApproval?: string[] | undefined;
32670
+ } | {
32671
+ requireApproval: string[];
32295
32672
  }, string[] | {
32296
32673
  enable: string[];
32674
+ requireApproval?: string[] | undefined;
32297
32675
  } | {
32298
32676
  disable: string[];
32677
+ requireApproval?: string[] | undefined;
32299
32678
  } | {
32300
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32301
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32302
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32679
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32680
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32681
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32682
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32303
32683
  };
32684
+ requireApproval?: string[] | undefined;
32685
+ } | {
32686
+ requireApproval: string[];
32304
32687
  }>]>>>>>;
32305
- tags: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
32306
- enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32307
- disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32688
+ tags: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">, z.ZodObject<{
32689
+ enable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32690
+ disable: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32691
+ /**
32692
+ * Tools with any of these tags need the user's approval before they run.
32693
+ * @experimental
32694
+ */
32695
+ requireApproval: z.ZodOptional<z.ZodArray<z.ZodEnum<["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
32308
32696
  }, "strict", z.ZodTypeAny, {
32309
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32310
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32697
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32698
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32699
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32311
32700
  }, {
32312
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32313
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32701
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32702
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32703
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32314
32704
  }>]>>>>;
32315
32705
  authConfigs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
32316
32706
  connectedAccounts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, Record<string, string[]>, Record<string, string | string[]>>>>>;
@@ -32375,6 +32765,13 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32375
32765
  maxAccountsPerToolkit?: number | null | undefined;
32376
32766
  requireExplicitSelection?: boolean | undefined;
32377
32767
  }>>>>;
32768
+ proxyExecute: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
32769
+ enable: z.ZodBoolean;
32770
+ }, "strict", z.ZodTypeAny, {
32771
+ enable: boolean;
32772
+ }, {
32773
+ enable: boolean;
32774
+ }>]>>>>;
32378
32775
  preload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
32379
32776
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodLiteral<"all">]>>;
32380
32777
  }, "strict", z.ZodTypeAny, {
@@ -32416,9 +32813,16 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32416
32813
  }, {
32417
32814
  enable: boolean;
32418
32815
  }>>>;
32816
+ /**
32817
+ * What happens to a call that needs the user's approval when the session's
32818
+ * MCP client can't ask the user: `deny` or `allow`.
32819
+ * @experimental
32820
+ */
32821
+ noElicitationSupportFallback: z.ZodOptional<z.ZodEnum<["deny", "allow"]>>;
32419
32822
  sessionConfigId: z.ZodOptional<z.ZodString>;
32420
32823
  }, "strict", z.ZodTypeAny, {
32421
32824
  sessionConfigId?: string | undefined;
32825
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
32422
32826
  permissions?: {
32423
32827
  default: "allow_all" | "ask_every_call" | "ask_once_per_session";
32424
32828
  overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
@@ -32430,6 +32834,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32430
32834
  } | null | undefined;
32431
32835
  }, {
32432
32836
  sessionConfigId?: string | undefined;
32837
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
32433
32838
  permissions?: {
32434
32839
  default: "allow_all" | "ask_every_call" | "ask_once_per_session";
32435
32840
  overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
@@ -32442,24 +32847,35 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32442
32847
  }>>>>;
32443
32848
  expectedConfigVersion: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>>;
32444
32849
  }, "strip", z.ZodTypeAny, {
32445
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32446
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32447
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32850
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32851
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32852
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32853
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32448
32854
  } | null | undefined;
32449
32855
  tools?: Record<string, string[] | {
32450
32856
  enable: string[];
32857
+ requireApproval?: string[] | undefined;
32451
32858
  } | {
32452
32859
  disable: string[];
32860
+ requireApproval?: string[] | undefined;
32453
32861
  } | {
32454
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32455
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32456
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32862
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32863
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32864
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32865
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32457
32866
  };
32867
+ requireApproval?: string[] | undefined;
32868
+ } | {
32869
+ requireApproval: string[];
32458
32870
  }> | null | undefined;
32459
32871
  toolkits?: string[] | {
32460
32872
  disable: string[];
32873
+ requireApproval?: string[] | undefined;
32461
32874
  } | {
32462
32875
  enable: string[];
32876
+ requireApproval?: string[] | undefined;
32877
+ } | {
32878
+ requireApproval: string[];
32463
32879
  } | null | undefined;
32464
32880
  search?: {
32465
32881
  enable?: boolean | undefined;
@@ -32479,6 +32895,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32479
32895
  enable: string[];
32480
32896
  } | undefined;
32481
32897
  returnInstantCharge?: boolean | undefined;
32898
+ returnPricesInSearch?: boolean | undefined;
32482
32899
  } | undefined;
32483
32900
  authConfigs?: Record<string, string> | null | undefined;
32484
32901
  connectedAccounts?: Record<string, string[]> | null | undefined;
@@ -32505,8 +32922,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32505
32922
  maxAccountsPerToolkit?: number | null | undefined;
32506
32923
  requireExplicitSelection?: boolean | undefined;
32507
32924
  } | null | undefined;
32925
+ proxyExecute?: boolean | {
32926
+ enable: boolean;
32927
+ } | null | undefined;
32508
32928
  experimental?: {
32509
32929
  sessionConfigId?: string | undefined;
32930
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
32510
32931
  permissions?: {
32511
32932
  default: "allow_all" | "ask_every_call" | "ask_once_per_session";
32512
32933
  overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
@@ -32522,24 +32943,35 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32522
32943
  } | null | undefined;
32523
32944
  expectedConfigVersion?: number | false | undefined;
32524
32945
  }, {
32525
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32526
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32527
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32946
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32947
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32948
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32949
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32528
32950
  } | null | undefined;
32529
32951
  tools?: Record<string, string[] | {
32530
32952
  enable: string[];
32953
+ requireApproval?: string[] | undefined;
32531
32954
  } | {
32532
32955
  disable: string[];
32956
+ requireApproval?: string[] | undefined;
32533
32957
  } | {
32534
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32535
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32536
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32958
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32959
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32960
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32961
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32537
32962
  };
32963
+ requireApproval?: string[] | undefined;
32964
+ } | {
32965
+ requireApproval: string[];
32538
32966
  }> | null | undefined;
32539
32967
  toolkits?: string[] | {
32540
32968
  disable: string[];
32969
+ requireApproval?: string[] | undefined;
32541
32970
  } | {
32542
32971
  enable: string[];
32972
+ requireApproval?: string[] | undefined;
32973
+ } | {
32974
+ requireApproval: string[];
32543
32975
  } | null | undefined;
32544
32976
  search?: {
32545
32977
  enable?: boolean | undefined;
@@ -32559,6 +32991,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32559
32991
  enable: string[];
32560
32992
  } | undefined;
32561
32993
  returnInstantCharge?: boolean | undefined;
32994
+ returnPricesInSearch?: boolean | undefined;
32562
32995
  } | undefined;
32563
32996
  authConfigs?: Record<string, string> | null | undefined;
32564
32997
  connectedAccounts?: Record<string, string | string[]> | null | undefined;
@@ -32585,8 +33018,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32585
33018
  maxAccountsPerToolkit?: number | null | undefined;
32586
33019
  requireExplicitSelection?: boolean | undefined;
32587
33020
  } | null | undefined;
33021
+ proxyExecute?: boolean | {
33022
+ enable: boolean;
33023
+ } | null | undefined;
32588
33024
  experimental?: {
32589
33025
  sessionConfigId?: string | undefined;
33026
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
32590
33027
  permissions?: {
32591
33028
  default: "allow_all" | "ask_every_call" | "ask_once_per_session";
32592
33029
  overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
@@ -32602,24 +33039,35 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32602
33039
  } | null | undefined;
32603
33040
  expectedConfigVersion?: number | false | undefined;
32604
33041
  }>, {
32605
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32606
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32607
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33042
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33043
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33044
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33045
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32608
33046
  } | null | undefined;
32609
33047
  tools?: Record<string, string[] | {
32610
33048
  enable: string[];
33049
+ requireApproval?: string[] | undefined;
32611
33050
  } | {
32612
33051
  disable: string[];
33052
+ requireApproval?: string[] | undefined;
32613
33053
  } | {
32614
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32615
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32616
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33054
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33055
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33056
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33057
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32617
33058
  };
33059
+ requireApproval?: string[] | undefined;
33060
+ } | {
33061
+ requireApproval: string[];
32618
33062
  }> | null | undefined;
32619
33063
  toolkits?: string[] | {
32620
33064
  disable: string[];
33065
+ requireApproval?: string[] | undefined;
32621
33066
  } | {
32622
33067
  enable: string[];
33068
+ requireApproval?: string[] | undefined;
33069
+ } | {
33070
+ requireApproval: string[];
32623
33071
  } | null | undefined;
32624
33072
  search?: {
32625
33073
  enable?: boolean | undefined;
@@ -32639,6 +33087,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32639
33087
  enable: string[];
32640
33088
  } | undefined;
32641
33089
  returnInstantCharge?: boolean | undefined;
33090
+ returnPricesInSearch?: boolean | undefined;
32642
33091
  } | undefined;
32643
33092
  authConfigs?: Record<string, string> | null | undefined;
32644
33093
  connectedAccounts?: Record<string, string[]> | null | undefined;
@@ -32665,8 +33114,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32665
33114
  maxAccountsPerToolkit?: number | null | undefined;
32666
33115
  requireExplicitSelection?: boolean | undefined;
32667
33116
  } | null | undefined;
33117
+ proxyExecute?: boolean | {
33118
+ enable: boolean;
33119
+ } | null | undefined;
32668
33120
  experimental?: {
32669
33121
  sessionConfigId?: string | undefined;
33122
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
32670
33123
  permissions?: {
32671
33124
  default: "allow_all" | "ask_every_call" | "ask_once_per_session";
32672
33125
  overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
@@ -32682,24 +33135,35 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32682
33135
  } | null | undefined;
32683
33136
  expectedConfigVersion?: number | false | undefined;
32684
33137
  }, {
32685
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32686
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32687
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33138
+ tags?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33139
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33140
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33141
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32688
33142
  } | null | undefined;
32689
33143
  tools?: Record<string, string[] | {
32690
33144
  enable: string[];
33145
+ requireApproval?: string[] | undefined;
32691
33146
  } | {
32692
33147
  disable: string[];
33148
+ requireApproval?: string[] | undefined;
32693
33149
  } | {
32694
- tags: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
32695
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32696
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33150
+ tags: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
33151
+ disable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33152
+ enable?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
33153
+ requireApproval?: ("readOnlyHint" | "createHint" | "updateHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
32697
33154
  };
33155
+ requireApproval?: string[] | undefined;
33156
+ } | {
33157
+ requireApproval: string[];
32698
33158
  }> | null | undefined;
32699
33159
  toolkits?: string[] | {
32700
33160
  disable: string[];
33161
+ requireApproval?: string[] | undefined;
32701
33162
  } | {
32702
33163
  enable: string[];
33164
+ requireApproval?: string[] | undefined;
33165
+ } | {
33166
+ requireApproval: string[];
32703
33167
  } | null | undefined;
32704
33168
  search?: {
32705
33169
  enable?: boolean | undefined;
@@ -32719,6 +33183,7 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32719
33183
  enable: string[];
32720
33184
  } | undefined;
32721
33185
  returnInstantCharge?: boolean | undefined;
33186
+ returnPricesInSearch?: boolean | undefined;
32722
33187
  } | undefined;
32723
33188
  authConfigs?: Record<string, string> | null | undefined;
32724
33189
  connectedAccounts?: Record<string, string | string[]> | null | undefined;
@@ -32745,8 +33210,12 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
32745
33210
  maxAccountsPerToolkit?: number | null | undefined;
32746
33211
  requireExplicitSelection?: boolean | undefined;
32747
33212
  } | null | undefined;
33213
+ proxyExecute?: boolean | {
33214
+ enable: boolean;
33215
+ } | null | undefined;
32748
33216
  experimental?: {
32749
33217
  sessionConfigId?: string | undefined;
33218
+ noElicitationSupportFallback?: "deny" | "allow" | undefined;
32750
33219
  permissions?: {
32751
33220
  default: "allow_all" | "ask_every_call" | "ask_once_per_session";
32752
33221
  overrides?: Record<string, "always_allow" | "always_deny" | "ask_once" | "ask_always"> | undefined;
@@ -32947,6 +33416,8 @@ interface Session<TToolCollection, TTool, TProvider extends BaseComposioProvider
32947
33416
  search: ToolRouterSessionSearchFn;
32948
33417
  /** Execute a tool within the session */
32949
33418
  execute: ToolRouterSessionExecuteFn;
33419
+ /** Execute a Composio meta tool (`COMPOSIO_*`) within the session */
33420
+ executeMeta: ToolRouterSessionExecuteMetaFn;
32950
33421
  /** Update the session configuration. Mutates this session in-place and resolves to the updated `config`. */
32951
33422
  update: ToolRouterSessionUpdateFn;
32952
33423
  /** Delete the session. Deleted sessions are no longer retrievable or executable. */
@@ -33169,4 +33640,4 @@ type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
33169
33640
  /** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
33170
33641
  type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
33171
33642
  //#endregion
33172
- export { ToolRouterSessionDeleteResponseSchema as $, RedirectableAuthSchemeSchema as $i, UpdateConnectedAccountAclParamsSchema as $n, McpToolkitConnectionStatus as $r, ToolRouterSessionFilesMountDownloadOptionsSchema as $t, SessionProxyExecuteParams as A, ToolListResponseSchema as Aa, Oauth1FailedConnectionDataSchema as Ai, ConnectedAccountRevokeResponse as An, MCPMultiAppServerSchema as Ar, ToolRouterToolsFn as At, ToolRouterCreateSessionConfigSchema as B, ToolkitVersionParam as Ba, Oauth2ConnectionDataSchema as Bi, ConnectedAccountTypes as Bn, MCPSingleAppServerSchema as Br, ToolkitConnectionStateSchema as Bt, MCPServerType as C, ToolExecuteParamsSchema as Ca, Oauth1ActiveConnectionData as Ci, ConnectedAccountListResponse as Cn, MCPCreateMethodResponse as Cr, ToolRouterTagsParamSchema as Ct, Session as D, ToolListParams as Da, Oauth1ExpiredConnectionData as Di, ConnectedAccountRefreshOptionsSchema as Dn, MCPGetServerParamsSchema as Dr, ToolRouterToolkitsOptions as Dt, SandboxSizeSchema as E, ToolList as Ea, Oauth1ConnectionDataSchema as Ei, ConnectedAccountRefreshOptions as En, MCPGetServerParams as Er, ToolRouterToolkitsFn as Et, ToolRouterConfigTags as F, Toolkit as Fa, Oauth1InitiatingConnectionData as Fi, ConnectedAccountStatusEnum as Fn, MCPServerListResponseSchema as Fr, ToolRouterUpdateManageConnectionsConfig as Ft, ToolRouterManageConnectionsConfigSchema as G, Oauth2InactiveConnectionData as Gi, CreateConnectedAccountOptions as Gn, McpDeleteResponseSchema as Gr, FileDeleteResponseSchema as Gt, ToolRouterInstantSchema as H, ToolkitVersionSchema as Ha, Oauth2ExpiredConnectionDataSchema as Hi, CreateConnectedAccountLinkOptionsSchema as Hn, MCPToolkitConfigSchema as Hr, ToolkitConnectionsDetailsSchema as Ht, ToolRouterConfigTagsSchema as I, ToolkitLatestVersion as Ia, Oauth1InitiatingConnectionDataSchema as Ii, ConnectedAccountStatusSchema as In, MCPServerSchema as Ir, ToolRouterUpdateManageConnectionsSchema as It, ToolRouterSessionConfig as J, Oauth2InitiatedConnectionDataSchema as Ji, CreateConnectedAccountParamsSchema as Jn, McpRetrieveResponse as Jr, RemoteFileData as Jt, ToolRouterSandboxConfig as K, Oauth2InactiveConnectionDataSchema as Ki, CreateConnectedAccountOptionsSchema as Kn, McpListResponse as Kr, FileListResponse as Kt, ToolRouterConfigTools as L, ToolkitLatestVersionSchema as La, Oauth2ActiveConnectionData as Li, ConnectedAccountStatuses as Ln, MCPServerUpdateParams as Lr, ToolRouterUpdateSessionConfig as Lt, SessionWithoutMcp as M, ToolProxyParamsSchema as Ma, Oauth1InactiveConnectionDataSchema as Mi, ConnectedAccountRevokedToken as Mn, MCPServerCreateResponse as Mr, ToolRouterToolsParamSchema as Mt, ToolRouterAuthorizeFn as N, ToolRetrievalOptions as Na, Oauth1InitiatedConnectionData as Ni, ConnectedAccountRevokedTokenSchema as Nn, MCPServerCreateResponseSchema as Nr, ToolRouterUpdateExperimentalConfig as Nt, SessionExperimental as O, ToolListParamsSchema as Oa, Oauth1ExpiredConnectionDataSchema as Oi, ConnectedAccountRetrieveResponse as On, MCPInstanceParams as Or, ToolRouterToolkitsOptionsSchema as Ot, ToolRouterConfigManageConnectionsSchema as P, ToolSchema as Pa, Oauth1InitiatedConnectionDataSchema as Pi, ConnectedAccountStatus as Pn, MCPServerListResponse as Pr, ToolRouterUpdateExperimentalSchema as Pt, ToolRouterSessionDeleteResponse as Q, Oauth2RevokedConnectionDataSchema as Qi, UpdateConnectedAccountAclParams as Qn, McpServerUrlInfo as Qr, ToolRouterSessionFilesMountDownloadOptions as Qt, ToolRouterConfigToolsSchema as R, ToolkitSchema as Ra, Oauth2ActiveConnectionDataSchema as Ri, ConnectedAccountType as Rn, MCPServerUpdateParamsSchema as Rr, ToolRouterUpdateSessionConfigSchema as Rt, SessionContext as S, ToolExecuteParams as Sa, CustomOauth2ConnectionDataSchema as Si, ConnectedAccountListParamsSchema as Sn, MCPAuthOptionsSchema as Sr, ToolRouterTagsEnableDisableSchema as St, SandboxSize as T, ToolExecuteResponseSchema as Ta, Oauth1ConnectionData as Ti, ConnectedAccountListResponseSchema as Tn, MCPGenerateURLParamsSchema as Tr, ToolRouterToolkitsEnabledConfigSchema as Tt, ToolRouterMCPServerConfig as U, ToolkitVersions as Ua, Oauth2FailedConnectionData as Ui, CreateConnectedAccountLinkResponse as Un, MCPToolkitConfigsArraySchema as Ur, RemoteFile as Ut, ToolRouterInstant as V, ToolkitVersionParamSchema as Va, Oauth2ExpiredConnectionData as Vi, CreateConnectedAccountLinkOptions as Vn, MCPToolkitConfig as Vr, ToolkitConnectionsDetails as Vt, ToolRouterMCPServerConfigSchema as W, ToolkitVersionsSchema as Wa, Oauth2FailedConnectionDataSchema as Wi, CreateConnectedAccountLinkResponseSchema as Wn, McpDeleteResponse as Wr, FileDeleteResponse as Wt, ToolRouterSessionConfigHistoryItem as X, Oauth2InitiatingConnectionDataSchema as Xi, CreateConnectedAccountResponseSchema as Xn, McpServerCreateResponse as Xr, ToolRouterSessionFilesMountDeleteOptions as Xt, ToolRouterSessionConfigHistoryConfig as Y, Oauth2InitiatingConnectionData as Yi, CreateConnectedAccountResponse as Yn, McpRetrieveResponseSchema as Yr, RemoteFileDataSchema as Yt, ToolRouterSessionDeleteFn as Z, Oauth2RevokedConnectionData as Zi, DefaultCreateConnectedAccountParamsSchema as Zn, McpServerGetResponse as Zr, ToolRouterSessionFilesMountDeleteOptionsSchema as Zt, CustomToolsMapEntry as _, JSONSchemaPropertySchema as _a, CustomConnectionData as _i, ConnectedAccountExperimental as _n, GenerateURLParamsSchema as _r, ToolRouterSessionSearchResponse as _t, CreateCustomToolkitParams as a, SessionExecuteMetaModifiers as aa, ExecuteToolFn as ai, ConnectionRequest as an, ComposioCustomCreateResponseSchema as ar, ToolRouterSessionExecuteOptions as at, RegisteredCustomTool as b, ToolExecuteMetaParams as ba, CustomOauth1ConnectionDataSchema as bi, ConnectedAccountExperimentalSchema as bn, GenerateURLResponseValidated as br, ToolRouterSessionWarning as bt, CustomToolExecuteFn as c, TransformToolSchemaModifier as ca, Provider as ci, ConnectedAccountAclConfigResponse as cn, ComposioMcpDeleteResponseSchema as cr, ToolRouterSessionListConfigHistoryFn as ct, CustomToolWireDefinition as d, beforeExecuteMetaModifier as da, BaseConnectionFields as di, ConnectedAccountAuthConfig as dn, ComposioMcpUpdateResponseSchema as dr, ToolRouterSessionListConfigHistoryResponse as dt, AgenticToolOptions as ea, McpUpdateResponse as ei, ToolRouterSessionFilesMountListOptions as en, UpdateConnectedAccountParams as er, ToolRouterSessionEnsureConnectedFn as et, CustomToolkit as f, beforeExecuteModifier as fa, BillcomAuthConnectionDataSchema as fi, ConnectedAccountAuthConfigSchema as fn, ConnectionStatus as fr, ToolRouterSessionMetadata as ft, CustomToolsMap as g, JSONSchemaProperty as ga, ConnectionStatuses as gi, ConnectedAccountCompleteAuthResponseSchema as gn, GenerateURLParams as gr, ToolRouterSessionSearchFn as gt, CustomToolkitWireDefinition as h, CustomAuthParamsSchema as ha, ConnectionStatusEnum as hi, ConnectedAccountCompleteAuthResponse as hn, CustomCreateResponseValidated as hr, ToolRouterSessionProxyExecuteResponse as ht, CreateCustomToolkitBaseSchema as i, ProviderOptions as ia, McpUserConnectionStatus as ii, ComposioRequestOptions as in, BaseNonAgenticProvider as ir, ToolRouterSessionExecuteFn as it, SessionProxyExecuteParamsSchema as j, ToolProxyParams as ja, Oauth1InactiveConnectionData as ji, ConnectedAccountRevokeResponseSchema as jn, MCPServer as jr, ToolRouterToolsParam as jt, SessionPreset as k, ToolListResponse as ka, Oauth1FailedConnectionData as ki, ConnectedAccountRetrieveResponseSchema as kn, MCPMultiAppServer as kr, ToolRouterToolkitsParamSchema as kt, CustomToolResponse as l, afterExecuteMetaModifier as la, ToolCallExecutionTarget as li, ConnectedAccountAclConfigResponseSchema as ln, ComposioMcpListResponseSchema as lr, ToolRouterSessionListConfigHistoryOptions as lt, CustomToolkitResponse as m, CustomAuthParams as ma, ConnectionDataSchema as mi, ConnectedAccountCompleteAuthParamsSchema as mn, CustomCreateResponseSchema as mr, ToolRouterSessionProxyExecuteFn as mt, CreateCustomToolBaseSchema as n, ExecuteToolModifiers as na, McpUrlResponse as ni, ToolRouterSessionFilesMountUploadOptions as nn, BaseAgenticProvider as nr, ToolRouterSessionEnsureConnectedOptionsSchema as nt, CustomTool as o, SessionMetaToolOptions as oa, ExecuteToolFnOptions as oi, ConnectionRequestState as on, ComposioGenerateURLParamsSchema as or, ToolRouterSessionExecuteResponse as ot, CustomToolkitDefinition as p, beforeFileUploadModifier as pa, ConnectionData as pi, ConnectedAccountCompleteAuthParams as pn, CustomCreateResponse$1 as pr, ToolRouterSessionPreloadConfig as pt, ToolRouterSandboxConfigSchema as q, Oauth2InitiatedConnectionData as qi, CreateConnectedAccountParams as qn, McpListResponseSchema as qr, FileListResponseSchema as qt, CreateCustomToolParams as r, MetaToolArguments as ra, McpUrlResponseCamelCase as ri, ToolRouterSessionFilesMountUploadOptionsSchema as rn, BaseComposioProvider as rr, ToolRouterSessionEnsureConnectedResult as rt, CustomToolDefinition as s, ToolOptions as sa, GlobalExecuteToolFn as si, ConnectedAccountAclConfig as sn, ComposioGenerateURLResponseSchema as sr, ToolRouterSessionExecuteResponseSchema as st, AnyZodSchema as t, BeforeFileUploadSource as ta, McpUpdateResponseSchema as ti, ToolRouterSessionFilesMountListOptionsSchema as tn, UpdateConnectedAccountParamsSchema as tr, ToolRouterSessionEnsureConnectedOptions as tt, CustomToolSlugSchema as u, afterExecuteModifier as ua, ToolCallSession as ui, ConnectedAccountAclConfigSchema as un, ComposioMcpRetrieveResponseSchema as ur, ToolRouterSessionListConfigHistoryOptionsSchema as ut, InferZodSchema as v, SchemaModifierOptions as va, CustomConnectionDataSchema as vi, ConnectedAccountExperimentalResponse as vn, GenerateURLResponse$1 as vr, ToolRouterSessionSearchResponseSchema as vt, MCPServerTypeSchema as w, ToolExecuteResponse as wa, Oauth1ActiveConnectionDataSchema as wi, ConnectedAccountListResponseItem as wn, MCPGenerateURLParams as wr, ToolRouterToolkitsDisabledConfigSchema as wt, RegisteredCustomToolkit as x, ToolExecuteMetaParamsSchema as xa, CustomOauth2ConnectionData as xi, ConnectedAccountListParams as xn, MCPAuthOptions as xr, ToolRouterSessionWorkbenchConfig as xt, InlineCustomToolsWirePayload as y, Tool as ya, CustomOauth1ConnectionData as yi, ConnectedAccountExperimentalResponseSchema as yn, GenerateURLResponseSchema as yr, ToolRouterSessionUpdateFn as yt, ToolRouterCreateSessionConfig as z, ToolkitVersion as za, Oauth2ConnectionData as zi, ConnectedAccountTypeSchema as zn, MCPSingleAppServer as zr, ToolkitConnectionState as zt };
33643
+ export { ToolRouterSessionConfig as $, Oauth2InactiveConnectionData as $i, CreateConnectedAccountOptions as $n, McpDeleteResponseSchema as $r, FileDeleteResponseSchema as $t, SessionProxyExecuteParams as A, ToolExecuteParams as Aa, CustomOauth2ConnectionDataSchema as Ai, ConnectedAccountListParamsSchema as An, MCPAuthOptionsSchema as Ar, ToolRouterTagsEnableDisableSchema as At, ToolRouterCreateSessionConfigSchema as B, ToolProxyParamsSchema as Ba, Oauth1InactiveConnectionDataSchema as Bi, ConnectedAccountRevokedToken as Bn, MCPServerCreateResponse as Br, ToolRouterToolsParamSchema as Bt, MCPServerType as C, CustomAuthParamsSchema as Ca, ConnectionStatusEnum as Ci, ConnectedAccountCompleteAuthResponse as Cn, CustomCreateResponseValidated as Cr, ToolRouterSessionProxyExecuteResponse as Ct, Session as D, Tool as Da, CustomOauth1ConnectionData as Di, ConnectedAccountExperimentalResponseSchema as Dn, GenerateURLResponseSchema as Dr, ToolRouterSessionUpdateFn as Dt, SandboxSizeSchema as E, SchemaModifierOptions as Ea, CustomConnectionDataSchema as Ei, ConnectedAccountExperimentalResponse as En, GenerateURLResponse$1 as Er, ToolRouterSessionSearchResponseSchema as Et, ToolRouterConfigTags as F, ToolListParams as Fa, Oauth1ExpiredConnectionData as Fi, ConnectedAccountRefreshOptionsSchema as Fn, MCPGetServerParamsSchema as Fr, ToolRouterToolkitsOptions as Ft, ToolRouterMCPServerConfigSchema as G, ToolkitLatestVersionSchema as Ga, Oauth2ActiveConnectionData as Gi, ConnectedAccountStatuses as Gn, MCPServerUpdateParams as Gr, ToolRouterUpdateSessionConfig as Gt, ToolRouterInstant as H, ToolSchema as Ha, Oauth1InitiatedConnectionDataSchema as Hi, ConnectedAccountStatus as Hn, MCPServerListResponse as Hr, ToolRouterUpdateExperimentalSchema as Ht, ToolRouterConfigTagsSchema as I, ToolListParamsSchema as Ia, Oauth1ExpiredConnectionDataSchema as Ii, ConnectedAccountRetrieveResponse as In, MCPInstanceParams as Ir, ToolRouterToolkitsOptionsSchema as It, ToolRouterProxyExecuteConfig as J, ToolkitVersionParam as Ja, Oauth2ConnectionDataSchema as Ji, ConnectedAccountTypes as Jn, MCPSingleAppServerSchema as Jr, ToolkitConnectionStateSchema as Jt, ToolRouterManageConnectionsConfigSchema as K, ToolkitSchema as Ka, Oauth2ActiveConnectionDataSchema as Ki, ConnectedAccountType as Kn, MCPServerUpdateParamsSchema as Kr, ToolRouterUpdateSessionConfigSchema as Kt, ToolRouterConfigTools as L, ToolListResponse as La, Oauth1FailedConnectionData as Li, ConnectedAccountRetrieveResponseSchema as Ln, MCPMultiAppServer as Lr, ToolRouterToolkitsParamSchema as Lt, SessionWithoutMcp as M, ToolExecuteResponse as Ma, Oauth1ActiveConnectionDataSchema as Mi, ConnectedAccountListResponseItem as Mn, MCPGenerateURLParams as Mr, ToolRouterToolkitsDisabledConfigSchema as Mt, ToolRouterAuthorizeFn as N, ToolExecuteResponseSchema as Na, Oauth1ConnectionData as Ni, ConnectedAccountListResponseSchema as Nn, MCPGenerateURLParamsSchema as Nr, ToolRouterToolkitsEnabledConfigSchema as Nt, SessionExperimental as O, ToolExecuteMetaParams as Oa, CustomOauth1ConnectionDataSchema as Oi, ConnectedAccountExperimentalSchema as On, GenerateURLResponseValidated as Or, ToolRouterSessionWarning as Ot, ToolRouterConfigManageConnectionsSchema as P, ToolList as Pa, Oauth1ConnectionDataSchema as Pi, ConnectedAccountRefreshOptions as Pn, MCPGetServerParams as Pr, ToolRouterToolkitsFn as Pt, ToolRouterSandboxConfigSchema as Q, ToolkitVersionsSchema as Qa, Oauth2FailedConnectionDataSchema as Qi, CreateConnectedAccountLinkResponseSchema as Qn, McpDeleteResponse as Qr, FileDeleteResponse as Qt, ToolRouterConfigToolsSchema as R, ToolListResponseSchema as Ra, Oauth1FailedConnectionDataSchema as Ri, ConnectedAccountRevokeResponse as Rn, MCPMultiAppServerSchema as Rr, ToolRouterToolsFn as Rt, SessionContext as S, CustomAuthParams as Sa, ConnectionDataSchema as Si, ConnectedAccountCompleteAuthParamsSchema as Sn, CustomCreateResponseSchema as Sr, ToolRouterSessionProxyExecuteFn as St, SandboxSize as T, JSONSchemaPropertySchema as Ta, CustomConnectionData as Ti, ConnectedAccountExperimental as Tn, GenerateURLParamsSchema as Tr, ToolRouterSessionSearchResponse as Tt, ToolRouterInstantSchema as U, Toolkit as Ua, Oauth1InitiatingConnectionData as Ui, ConnectedAccountStatusEnum as Un, MCPServerListResponseSchema as Ur, ToolRouterUpdateManageConnectionsConfig as Ut, ToolRouterInputResponse as V, ToolRetrievalOptions as Va, Oauth1InitiatedConnectionData as Vi, ConnectedAccountRevokedTokenSchema as Vn, MCPServerCreateResponseSchema as Vr, ToolRouterUpdateExperimentalConfig as Vt, ToolRouterMCPServerConfig as W, ToolkitLatestVersion as Wa, Oauth1InitiatingConnectionDataSchema as Wi, ConnectedAccountStatusSchema as Wn, MCPServerSchema as Wr, ToolRouterUpdateManageConnectionsSchema as Wt, ToolRouterProxyExecuteSchema as X, ToolkitVersionSchema as Xa, Oauth2ExpiredConnectionDataSchema as Xi, CreateConnectedAccountLinkOptionsSchema as Xn, MCPToolkitConfigSchema as Xr, ToolkitConnectionsDetailsSchema as Xt, ToolRouterProxyExecuteConfigSchema as Y, ToolkitVersionParamSchema as Ya, Oauth2ExpiredConnectionData as Yi, CreateConnectedAccountLinkOptions as Yn, MCPToolkitConfig as Yr, ToolkitConnectionsDetails as Yt, ToolRouterSandboxConfig as Z, ToolkitVersions as Za, Oauth2FailedConnectionData as Zi, CreateConnectedAccountLinkResponse as Zn, MCPToolkitConfigsArraySchema as Zr, RemoteFile as Zt, CustomToolsMapEntry as _, afterExecuteMetaModifier as _a, ToolCallExecutionTarget as _i, ConnectedAccountAclConfigResponseSchema as _n, ComposioMcpListResponseSchema as _r, ToolRouterSessionListConfigHistoryOptionsSchema as _t, CreateCustomToolkitParams as a, Oauth2RevokedConnectionData as aa, McpServerGetResponse as ai, ToolRouterSessionFilesMountDeleteOptionsSchema as an, DefaultCreateConnectedAccountParamsSchema as ar, ToolRouterSessionEnsureConnectedFn as at, RegisteredCustomTool as b, beforeExecuteModifier as ba, BillcomAuthConnectionDataSchema as bi, ConnectedAccountAuthConfigSchema as bn, ConnectionStatus as br, ToolRouterSessionMetadata as bt, CustomToolExecuteFn as c, AgenticToolOptions as ca, McpUpdateResponse as ci, ToolRouterSessionFilesMountListOptions as cn, UpdateConnectedAccountParams as cr, ToolRouterSessionEnsureConnectedResult as ct, CustomToolWireDefinition as d, MetaToolArguments as da, McpUrlResponseCamelCase as di, ToolRouterSessionFilesMountUploadOptionsSchema as dn, BaseComposioProvider as dr, ToolRouterSessionExecuteMetaOptions as dt, Oauth2InactiveConnectionDataSchema as ea, McpListResponse as ei, FileListResponse as en, CreateConnectedAccountOptionsSchema as er, ToolRouterSessionConfigHistoryConfig as et, CustomToolkit as f, ProviderOptions as fa, McpUserConnectionStatus as fi, ComposioRequestOptions as fn, BaseNonAgenticProvider as fr, ToolRouterSessionExecuteOptions as ft, CustomToolsMap as g, TransformToolSchemaModifier as ga, Provider as gi, ConnectedAccountAclConfigResponse as gn, ComposioMcpDeleteResponseSchema as gr, ToolRouterSessionListConfigHistoryOptions as gt, CustomToolkitWireDefinition as h, ToolOptions as ha, GlobalExecuteToolFn as hi, ConnectedAccountAclConfig as hn, ComposioGenerateURLResponseSchema as hr, ToolRouterSessionListConfigHistoryFn as ht, CreateCustomToolkitBaseSchema as i, Oauth2InitiatingConnectionDataSchema as ia, McpServerCreateResponse as ii, ToolRouterSessionFilesMountDeleteOptions as in, CreateConnectedAccountResponseSchema as ir, ToolRouterSessionDeleteResponseSchema as it, SessionProxyExecuteParamsSchema as j, ToolExecuteParamsSchema as ja, Oauth1ActiveConnectionData as ji, ConnectedAccountListResponse as jn, MCPCreateMethodResponse as jr, ToolRouterTagsParamSchema as jt, SessionPreset as k, ToolExecuteMetaParamsSchema as ka, CustomOauth2ConnectionData as ki, ConnectedAccountListParams as kn, MCPAuthOptions as kr, ToolRouterSessionWorkbenchConfig as kt, CustomToolResponse as l, BeforeFileUploadSource as la, McpUpdateResponseSchema as li, ToolRouterSessionFilesMountListOptionsSchema as ln, UpdateConnectedAccountParamsSchema as lr, ToolRouterSessionExecuteFn as lt, CustomToolkitResponse as m, SessionMetaToolOptions as ma, ExecuteToolFnOptions as mi, ConnectionRequestState as mn, ComposioGenerateURLParamsSchema as mr, ToolRouterSessionExecuteResponseSchema as mt, CreateCustomToolBaseSchema as n, Oauth2InitiatedConnectionDataSchema as na, McpRetrieveResponse as ni, RemoteFileData as nn, CreateConnectedAccountParamsSchema as nr, ToolRouterSessionDeleteFn as nt, CustomTool as o, Oauth2RevokedConnectionDataSchema as oa, McpServerUrlInfo as oi, ToolRouterSessionFilesMountDownloadOptions as on, UpdateConnectedAccountAclParams as or, ToolRouterSessionEnsureConnectedOptions as ot, CustomToolkitDefinition as p, SessionExecuteMetaModifiers as pa, ExecuteToolFn as pi, ConnectionRequest as pn, ComposioCustomCreateResponseSchema as pr, ToolRouterSessionExecuteResponse as pt, ToolRouterProxyExecute as q, ToolkitVersion as qa, Oauth2ConnectionData as qi, ConnectedAccountTypeSchema as qn, MCPSingleAppServer as qr, ToolkitConnectionState as qt, CreateCustomToolParams as r, Oauth2InitiatingConnectionData as ra, McpRetrieveResponseSchema as ri, RemoteFileDataSchema as rn, CreateConnectedAccountResponse as rr, ToolRouterSessionDeleteResponse as rt, CustomToolDefinition as s, RedirectableAuthSchemeSchema as sa, McpToolkitConnectionStatus as si, ToolRouterSessionFilesMountDownloadOptionsSchema as sn, UpdateConnectedAccountAclParamsSchema as sr, ToolRouterSessionEnsureConnectedOptionsSchema as st, AnyZodSchema as t, Oauth2InitiatedConnectionData as ta, McpListResponseSchema as ti, FileListResponseSchema as tn, CreateConnectedAccountParams as tr, ToolRouterSessionConfigHistoryItem as tt, CustomToolSlugSchema as u, ExecuteToolModifiers as ua, McpUrlResponse as ui, ToolRouterSessionFilesMountUploadOptions as un, BaseAgenticProvider as ur, ToolRouterSessionExecuteMetaFn as ut, InferZodSchema as v, afterExecuteModifier as va, ToolCallSession as vi, ConnectedAccountAclConfigSchema as vn, ComposioMcpRetrieveResponseSchema as vr, ToolRouterSessionListConfigHistoryResponse as vt, MCPServerTypeSchema as w, JSONSchemaProperty as wa, ConnectionStatuses as wi, ConnectedAccountCompleteAuthResponseSchema as wn, GenerateURLParams as wr, ToolRouterSessionSearchFn as wt, RegisteredCustomToolkit as x, beforeFileUploadModifier as xa, ConnectionData as xi, ConnectedAccountCompleteAuthParams as xn, CustomCreateResponse$1 as xr, ToolRouterSessionPreloadConfig as xt, InlineCustomToolsWirePayload as y, beforeExecuteMetaModifier as ya, BaseConnectionFields as yi, ConnectedAccountAuthConfig as yn, ComposioMcpUpdateResponseSchema as yr, ToolRouterSessionMetaToolSlug as yt, ToolRouterCreateSessionConfig as z, ToolProxyParams as za, Oauth1InactiveConnectionData as zi, ConnectedAccountRevokeResponseSchema as zn, MCPServer as zr, ToolRouterToolsParam as zt };